forked from panzerdp/voca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.56 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
{
"name": "voca",
"version": "1.4.0",
"description": "The ultimate JavaScript string library",
"homepage": "https://vocajs.com",
"author": {
"name": "Dmitri Pavlutin",
"email": "[email protected]",
"url": "https://dmitripavlutin.com/about-me/"
},
"license": "MIT",
"keywords": [
"string",
"sprintf",
"trim",
"truncate",
"pad",
"slugify",
"latinise",
"escape",
"word",
"wrap",
"case",
"strip"
],
"repository": {
"type": "git",
"url": "git+https://github.com/panzerdp/voca.git"
},
"bugs": {
"url": "https://github.com/panzerdp/voca/issues",
"email": "[email protected]"
},
"main": "index.js",
"module": "es/index.js",
"scripts": {
"eslint": "eslint ./src --ext .js --fix",
"build": "npm run build-universal && npm run build-module",
"build-universal": "rollup -c config/rollup/dist/umd-min.js && rollup -c config/rollup/dist/umd.js",
"build-module": "rollup -c config/rollup/module/cjs-all.js && rollup -c config/rollup/module/umd.js && rollup -c config/rollup/module/es.js && rollup -c config/rollup/module/es-all.js",
"prepare-npm-package": "rm -rf dist_mod && mkdir dist_mod && cp package.json README.md LICENSE.md ./dist_mod && npm run build",
"test": "jest",
"coverage": "jest --coverage",
"verify": "npm run eslint && npm run coverage",
"jsdoc": "jsdoc --configure .jsdoc.json",
"deploy": "rollup -c config/rollup_dist.js && cp dist/voca.js docs/scripts && scp -r docs/* rainishere:/home/rainishere/webapps/voca_docs",
"precommit": "lint-staged && jest --onlyChanged"
},
"devDependencies": {
"@babel/core": "7.7.7",
"@babel/plugin-transform-block-scoping": "7.7.4",
"@babel/plugin-transform-destructuring": "7.7.4",
"@babel/plugin-transform-modules-commonjs": "7.7.5",
"@babel/plugin-transform-object-assign": "7.7.4",
"@babel/plugin-transform-parameters": "7.7.7",
"@babel/plugin-transform-shorthand-properties": "7.7.4",
"@babel/plugin-transform-spread": "7.7.4",
"@rollup/plugin-multi-entry": "3.0.0",
"babel-eslint": "10.0.3",
"babel-plugin-module-resolver": "4.0.0",
"eslint": "6.8.0",
"glob": "7.1.6",
"husky": "3.1.0",
"jest": "24.9.0",
"jsdoc": "3.6.3",
"lint-staged": "9.5.0",
"prettier": "1.19.1",
"rollup": "1.27.14",
"rollup-plugin-babel": "4.3.3",
"rollup-plugin-uglify": "6.0.4",
"source-map-support": "0.5.16"
},
"dependencies": {},
"lint-staged": {
"*.{js}": [
"eslint --fix",
"prettier --write",
"git add"
]
}
}