forked from martinandert/inflected
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.65 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
{
"name": "inflected",
"version": "2.1.0",
"description": "A port of ActiveSupport's inflector to Node.js",
"main": "dist/umd/inflected.js",
"module": "dist/esm/inflected.js",
"repository": "martinandert/inflected",
"author": "Martin Andert",
"license": "MIT",
"keywords": [
"inflector",
"inflection",
"pluralize",
"singularize",
"camelize",
"titleize",
"tableize",
"humanize",
"capitalize",
"constantify",
"dasherize",
"ordinalize",
"parameterize",
"transliterate",
"activesupport"
],
"scripts": {
"lint": "eslint --max-warnings 0 src/**",
"test": "yarn lint && yarn bundle && mocha -R spec --bail test/index.js && bundlewatch",
"precommit": "lint-staged",
"build": "yarn bundle && yarn minify",
"bundle": "rollup --config",
"minify": "uglifyjs dist/umd/inflected.js --compress --mangle --output dist/umd/inflected.min.js"
},
"devDependencies": {
"babel-eslint": "^7.2.2",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-latest": "^6.24.1",
"bundlewatch": "^0.3.0",
"eslint": "^4.18.2",
"eslint-plugin-import": "^2.2.0",
"husky": "^0.13.3",
"lint-staged": "^3.4.0",
"mocha": "^3.2.0",
"object-assign": "^4.1.1",
"prettier": "^1.1.0",
"rollup": "^0.41.6",
"rollup-plugin-babel": "^2.7.1",
"rollup-plugin-node-resolve": "^3.0.0",
"uglify-js": "^2.8.22"
},
"lint-staged": {
"src/**/*.js": [
"prettier --write",
"git add"
]
},
"bundlewatch": [
{
"path": "./dist/*/inflected.js",
"maxSize": "5 kB"
}
]
}