130 lines
3.9 KiB
JSON
130 lines
3.9 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"currency.js@2.0.4",
|
|
"C:\\Users\\dredgy\\RiderProjects\\DredgePos\\DredgePos"
|
|
]
|
|
],
|
|
"_from": "currency.js@2.0.4",
|
|
"_id": "currency.js@2.0.4",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-6/OplJYgJ0RUlli74d93HJ/OsKVBi8lB1+Z6eJYS1YZzBuIp4qKKHpJ7ad+GvTlWmLR/hLJOWTykN5Nm8NJ7+w==",
|
|
"_location": "/currency.js",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "currency.js@2.0.4",
|
|
"name": "currency.js",
|
|
"escapedName": "currency.js",
|
|
"rawSpec": "2.0.4",
|
|
"saveSpec": null,
|
|
"fetchSpec": "2.0.4"
|
|
},
|
|
"_requiredBy": [
|
|
"/"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/currency.js/-/currency.js-2.0.4.tgz",
|
|
"_spec": "2.0.4",
|
|
"_where": "C:\\Users\\dredgy\\RiderProjects\\DredgePos\\DredgePos",
|
|
"author": {
|
|
"name": "Jason Wilson"
|
|
},
|
|
"browser": "dist/currency.min.js",
|
|
"bugs": {
|
|
"url": "https://github.com/scurker/currency.js/issues"
|
|
},
|
|
"description": "A small, lightweight javascript library for working with currency values.",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.10.4",
|
|
"@babel/core": "^7.10.4",
|
|
"@babel/node": "^7.10.4",
|
|
"@babel/preset-env": "^7.10.4",
|
|
"@babel/preset-flow": "^7.10.4",
|
|
"@babel/register": "^7.5.5",
|
|
"@scurker/eslint-config": "^1.1.5",
|
|
"ava": "^2.2.0",
|
|
"cheerio": "^1.0.0-rc",
|
|
"eslint": "^7.4.0",
|
|
"flow-bin": "^0.151.0",
|
|
"google-closure-compiler-js": "^20200719.0.0",
|
|
"gzip-size": "^6.0.0",
|
|
"handlebars": "^4.7.6",
|
|
"highlight.js": "^10.0.0",
|
|
"html-minifier": "^4.0.0",
|
|
"matchdep": "^2.0.0",
|
|
"metalsmith": "^2.3.0",
|
|
"metalsmith-ignore": "^1.0.0",
|
|
"metalsmith-markdown": "^1.3.0",
|
|
"minimatch": "^3.0.4",
|
|
"npm-run-all": "^4.1.5",
|
|
"nyc": "^15.1.0",
|
|
"pretty-bytes": "^5.3.0",
|
|
"rollup": "^2.21.0",
|
|
"rollup-plugin-babel": "^4.4.0",
|
|
"sinon": "^10.0.0",
|
|
"typescript": "^4.0.2"
|
|
},
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"engines": {
|
|
"node": ">=4"
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"homepage": "http://scurker.github.io/currency.js",
|
|
"js:next": "dist/currency.es.js",
|
|
"keywords": [
|
|
"currency",
|
|
"money",
|
|
"utilities",
|
|
"accounting",
|
|
"format",
|
|
"number",
|
|
"parse",
|
|
"precision",
|
|
"decimal"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/currency.js",
|
|
"module": "dist/currency.es.js",
|
|
"name": "currency.js",
|
|
"nyc": {
|
|
"include": [
|
|
"dist/**/*.js"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/scurker/currency.js.git"
|
|
},
|
|
"scripts": {
|
|
"build": "npm-run-all clean transpile copy-typescript-definition copy-flow-definition",
|
|
"build:docs": "npm-run-all clean:docs compile:docs minify:docs",
|
|
"clean": "rm -rf dist/*",
|
|
"clean:docs": "rm -rf docs/build",
|
|
"compile:docs": "npx babel-node --presets=@babel/preset-env ./docs/src/build-docs.js",
|
|
"copy-flow-definition": "cp -f src/currency.js.flow dist",
|
|
"copy-typescript-definition": "cp -f src/currency.d.ts dist",
|
|
"coverage": "BABEL_ENV=test nyc ava ./test/test.js",
|
|
"coverage:report": "nyc report --reporter=text-lcov > lcov.info",
|
|
"lint": "eslint .",
|
|
"minify:docs": "html-minifier --input-dir ./docs/build --output-dir ./docs/build --file-ext html --collapse-whitespace --decode-entities --minify-css --minify-js",
|
|
"prepare": "npm run build",
|
|
"pretest:flow": "npm run copy-flow-definition",
|
|
"pretest:js": "npm run transpile:es",
|
|
"pretest:typescript": "npm run copy-typescript-definition",
|
|
"test": "npm-run-all test:typescript test:flow test:js",
|
|
"test:flow": "flow",
|
|
"test:js": "BABEL_ENV=test ava ./test/test.js",
|
|
"test:typescript": "tsc -p ./test --noEmit",
|
|
"transpile": "npm-run-all transpile:*",
|
|
"transpile:es": "rollup -c ./config/rollup.config.js",
|
|
"transpile:umd": "rollup -c ./config/rollup.umd.js"
|
|
},
|
|
"typings": "./dist/currency.d.ts",
|
|
"version": "2.0.4"
|
|
}
|