-
-
Notifications
You must be signed in to change notification settings - Fork 198
/
package.json
83 lines (83 loc) · 2.67 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
{
"name": "numbro",
"version": "2.5.0",
"description": "Format and manipulate numbers.",
"homepage": "http://numbrojs.com",
"author": {
"name": "Benjamin Van Ryseghem",
"email": "benjamin@vanryseghem.com",
"url": "https://benjamin.vanryseghem.com"
},
"keywords": [
"numeral",
"numbro",
"number",
"format",
"time",
"money",
"percentage"
],
"main": "./dist/numbro.min.js",
"browser": "./dist/es/numbro.js",
"typings": "./numbro.d.ts",
"engines": {
"node": "*"
},
"repository": {
"type": "git",
"url": "https://github.com/BenjaminVanRyseghem/numbro"
},
"bugs": {
"url": "https://github.com/BenjaminVanRyseghem/numbro/issues"
},
"license": "MIT",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.4",
"@rollup/plugin-node-resolve": "^15.2.1",
"@rollup/plugin-terser": "^0.4.3",
"all-contributors-cli": "^6.18.0",
"auto-load": "^3.0.4",
"bump-regex": "^4.1.0",
"eslint": "^8.48.0",
"eslint-plugin-jasmine": "^4.1.3",
"glob": "^10.3.4",
"jasmine": "^5.1.0",
"jasmine-core": "^5.1.1",
"minimatch": "^9.0.3",
"nyc": "^15.1.0",
"rewire": "^7.0.0",
"rimraf": "^5.0.1",
"rollup": "^3.28.1",
"rollup-plugin-license": "^3.0.1",
"rollup-plugin-sourcemaps": "^0.6.3"
},
"scripts": {
"prepublishOnly": "echo \"Are you sure you want to publish a new release with version ${npm_package_version}? (y/n)?\" && read choice && case \"$choice\" in y|Y ) npm run build;; * ) echo \"Abort!\" && exit 1;; esac",
"postpublish": "git tag -as ${npm_package_version} -m \"Release version ${npm_package_version}\" && git push && git push --tags",
"preversion": "echo \"Use `bump:xxx` instead\" && exit 1",
"lint": "npx eslint --report-unused-disable-directives --rulesdir ./eslint_rules ./src/**/*.js ./tests/**/*.js ./languages/**/*.js",
"test:unit": "npx jasmine",
"test:integration": "npx jasmine ./integrationTests/node/numbro.js",
"test": "npm run test:unit && npm run test:integration",
"bump:major": "node ./toolchain/bump.js major",
"bump:minor": "node ./toolchain/bump.js minor",
"bump:patch": "node ./toolchain/bump.js patch",
"build": "NODE_ENV=production rollup -c",
"build:clean": "npx rimraf dist",
"coverage:instrument": "nyc --all --silent jasmine",
"coverage:report": "nyc report --reporter=lcov",
"coverage:check": "nyc check-coverage --lines 100 --branches 100 --statements 100 --functions 100"
},
"files": [
"LICENSE",
"LICENSE-Numeraljs",
"CHANGELOG",
"CHANGELOG-Numeraljs.md",
"numbro.d.ts",
"languages",
"dist"
],
"dependencies": {
"bignumber.js": "^8 || ^9"
}
}