-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
56 lines (56 loc) · 2.71 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
{
"name": "audiochart",
"version": "0.6.0",
"private": true,
"homepage": "http://matatk.agrip.org.uk/audiochart/",
"repository": "https://github.com/matatk/audiochart.git",
"license": "MIT",
"scripts": {
"prebuild": "npm run test",
"build": "npm run build:core",
"prebuild:ci": "npm run test:ci",
"build:ci": "npm run build:core",
"build:core": "npm run uglify && npm run copylibs && npm run jsdoc:public && npm run jsdoc:internal && npm run docco && npm run replace",
"clean": "git clean --force -dx --exclude /node_modules",
"copylibs": "copyfiles --flat node_modules/c3/c3.min.js lib/ && copyfiles --flat node_modules/d3/dist/d3.min.js lib && copyfiles --flat node_modules/c3/c3.min.css lib/",
"docco": "docco examples/hello-google/hello-world-google.js --output examples/hello-google/ --layout classic && docco examples/hello-c3/hello-world-c3.js --output examples/hello-c3/ --layout classic",
"jsdoc:internal": "rimraf doc/internal/ && jsdoc src/*.js --readme README.md --private --destination doc/internal/",
"jsdoc:public": "rimraf doc/public/ && jsdoc src/*.js --readme README.md --destination doc/public/",
"lint": "eslint .",
"replace": "npm run replace:1 && npm run replace:2 && npm run replace:3",
"replace:1": "replace-in-file /f5f5ff/ig ffd examples/hello-*/docco.css --isRegex",
"replace:2": "replace-in-file \"/'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif/g\" \"Verdana, sans-serif\" examples/hello-*/docco.css --isRegex",
"replace:3": "replace-in-file /#261a3b/g auto examples/hello-*/docco.css --isRegex",
"pretest": "npm run lint",
"test": "karma start",
"test:ci": "npm run test -- --browsers ChromeHeadlessNoSandbox --reporters dots",
"preuglify": "mkdirp lib && node scripts/src-cat",
"uglify": "uglifyjs --verbose --warn --compress --mangle --source-map \"includeSources,url='audiochart.min.js.map'\" --output lib/audiochart.min.js src/audiochart-all.js && rimraf src/audiochart-all.js",
"version": "conventional-changelog-moulded-angular AudioChart && git add CHANGELOG.md"
},
"husky": {
"hooks": {
"pre-commit": "npm run build"
}
},
"devDependencies": {
"c3": "~0.7",
"conventional-changelog-moulded-angular": "github:matatk/conventional-changelog-moulded-angular#0.2.0",
"copyfiles": "~2.1",
"docco": "~0.7",
"eslint": "~5.16",
"husky": "~2.4",
"jasmine-core": "~3.4",
"jsdoc": "~3.6",
"karma": "~4.1",
"karma-chrome-launcher": "~2.2",
"karma-coverage": "~1.1",
"karma-firefox-launcher": "~1.1",
"karma-jasmine": "~2.0",
"karma-spec-reporter": "~0.0",
"mkdirp": "~0.5",
"replace-in-file": "~4.1",
"rimraf": "~2.6",
"uglify-es": "~3.3"
}
}