-
Notifications
You must be signed in to change notification settings - Fork 143
/
package.json
99 lines (99 loc) · 3.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "currency.js",
"homepage": "http://scurker.github.io/currency.js",
"version": "2.0.4",
"description": "A small, lightweight javascript library for working with currency values.",
"main": "dist/currency.js",
"module": "dist/currency.es.js",
"js:next": "dist/currency.es.js",
"browser": "dist/currency.min.js",
"engines": {
"node": ">=4"
},
"directories": {
"test": "test"
},
"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",
"coverage": "BABEL_ENV=test nyc ava ./test/test.js",
"coverage:report": "nyc report --reporter=text-lcov > lcov.info",
"copy-typescript-definition": "cp -f src/currency.d.ts dist",
"copy-flow-definition": "cp -f src/currency.js.flow dist",
"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:js": "npm run transpile:es",
"pretest:typescript": "npm run copy-typescript-definition",
"pretest:flow": "npm run copy-flow-definition",
"transpile:es": "rollup -c ./config/rollup.config.js",
"transpile:umd": "rollup -c ./config/rollup.umd.js",
"transpile": "npm-run-all transpile:*",
"test": "npm-run-all test:typescript test:flow test:js",
"test:js": "BABEL_ENV=test ava ./test/test.js",
"test:typescript": "tsc -p ./test --noEmit",
"test:flow": "flow"
},
"repository": {
"type": "git",
"url": "git://github.com/scurker/currency.js.git"
},
"files": [
"dist"
],
"typings": "./dist/currency.d.ts",
"keywords": [
"currency",
"money",
"utilities",
"accounting",
"format",
"number",
"parse",
"precision",
"decimal"
],
"author": "Jason Wilson",
"license": "MIT",
"bugs": {
"url": "https://github.com/scurker/currency.js/issues"
},
"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": "^8.0.0",
"flow-bin": "^0.210.0",
"google-closure-compiler-js": "^20200719.0.0",
"gzip-size": "^7.0.0",
"handlebars": "^4.7.6",
"highlight.js": "^11.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": "^5.0.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pretty-bytes": "^6.0.0",
"rollup": "^2.21.0",
"rollup-plugin-babel": "^4.4.0",
"sinon": "^15.0.0",
"typescript": "^5.0.0"
},
"nyc": {
"include": [
"dist/**/*.js"
]
}
}