/
package.json
65 lines (65 loc) · 1.82 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": "gauge.js",
"description": "Simple JS SVG Gauge",
"version": "0.2.1",
"author": "Vladimir Rodkin <mail@vovanr.com>",
"keywords": [
"gauge",
"speedometer"
],
"repository": {
"type": "git",
"url": "https://github.com/VovanR/gauge.js"
},
"main": "./dist/gauge.js",
"files": [
"dist",
"src",
"LICENSE",
"README.md",
"package.json"
],
"scripts": {
"coverage": "istanbul cover _mocha --",
"coveralls": "coveralls < coverage/lcov.info",
"preversion": "npm test",
"version": "npm run build && git add -A dist",
"postpublish": "git push --follow-tags",
"prepush": "npm test",
"precommit": "npm test",
"precoveralls": "npm run coverage",
"test": "xo && mocha-phantomjs -R spec ./test/index-test.html",
"uglify:dist": "uglifyjs ./src/index.js -o ./dist/gauge.min.js",
"uglify": "npm run uglify:dist",
"clean": "rm -rf ./dist && mkdir ./dist",
"copy:js": "cp ./src/index.js ./dist/gauge.js",
"copy:css": "cp ./src/style.css ./dist/gauge.css",
"copy": "npm run copy:js && npm run copy:css",
"build:css": "csso ./src/style.css ./dist/gauge.min.css",
"build:js": "npm test && npm run uglify",
"build": "npm run clean && npm run copy && npm run build:js && npm run build:css"
},
"devDependencies": {
"chai": "^3.3.0",
"coveralls": "^2.11.2",
"csso": "^1.4.0",
"husky": "^0.10.1",
"istanbul": "^0.3.11",
"lodash": "^3.10.1",
"mocha": "^2.3.3",
"mocha-lcov-reporter": "0.0.2",
"mocha-phantomjs": "^4.0.1",
"phantomjs": "^1.9.18",
"sinon": "^1.17.1",
"uglifyjs": "^2.4.10",
"xo": "^0.9.0"
},
"bugs": {
"url": "https://github.com/VovanR/gauge.js/issues"
},
"homepage": "https://github.com/VovanR/gauge.js",
"license": "MIT",
"dependencies": {
"jquery": "^2.1.4"
}
}