forked from jashkenas/underscore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.23 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
{
"name": "underscore",
"description": "JavaScript's functional programming helper library.",
"homepage": "https://underscorejs.org",
"keywords": [
"util",
"functional",
"server",
"client",
"browser"
],
"author": "Jeremy Ashkenas <[email protected]>",
"repository": {
"type": "git",
"url": "git://github.com/jashkenas/underscore.git"
},
"main": "underscore.js",
"module": "modules/index-all.js",
"version": "1.10.2",
"devDependencies": {
"coveralls": "^2.11.2",
"docco": "*",
"eslint": "^6.8.0",
"eslint-plugin-import": "^2.20.1",
"gzip-size-cli": "^1.0.0",
"husky": "^4.2.3",
"karma": "^0.13.13",
"karma-qunit": "~2.0.1",
"karma-sauce-launcher": "^1.2.0",
"nyc": "^2.1.3",
"pretty-bytes-cli": "^1.0.0",
"qunit": "^2.6.0",
"qunit-cli": "~0.2.0",
"rollup": "^0.59.4",
"uglify-js": "3.3.21"
},
"scripts": {
"test": "npm run lint && npm run test-node",
"coverage": "nyc npm run test-node && nyc report",
"coveralls": "nyc npm run test-node && nyc report --reporter=text-lcov | coveralls",
"lint": "eslint modules/*.js test/*.js",
"test-node": "npm run prepare-tests && qunit-cli test/*.js",
"test-browser": "npm run prepare-tests && npm i karma-phantomjs-launcher && karma start",
"bundle": "rollup --config && eslint underscore.js",
"bundle-treeshake": "cd test-treeshake && npx rollup@latest --config",
"prepare-tests": "npm run bundle && npm run bundle-treeshake",
"minify": "uglifyjs underscore.js -c \"evaluate=false\" --comments \"/ .*/\" -m",
"build": "npm run bundle && npm run minify -- --source-map content=underscore.js.map --source-map-url \" \" -o underscore-min.js",
"doc": "cd docs && rollup -c && docco -o . underscore.js",
"weight": "npm run bundle && npm run minify | gzip-size | pretty-bytes",
"prepublishOnly": "npm run build && npm run doc"
},
"license": "MIT",
"files": [
"underscore.js",
"underscore.js.map",
"underscore-min.js",
"underscore-min.js.map",
"modules/"
],
"husky": {
"hooks": {
"pre-commit": "npm run bundle && git add underscore.js underscore.js.map",
"post-commit": "git reset underscore.js underscore.js.map"
}
}
}