-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
48 lines (48 loc) · 1.47 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
{
"name": "autocomposer",
"version": "1.0.0",
"devDependencies": {
"ava": "^0.24.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.2",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-2": "^6.24.1",
"magic-string": "^0.22.4",
"rollup": "^0.49.3",
"rollup-plugin-babel": "^3.0.2",
"rollup-plugin-buble": "^0.15.0",
"rollup-plugin-commonjs": "^8.2.1",
"rollup-plugin-multi-entry": "^2.0.2",
"rollup-plugin-node-resolve": "^3.0.0",
"rollup-plugin-svelte": "^3.1.0",
"rollup-plugin-uglify": "^2.0.1",
"serve": "^6.0.6",
"source-map-support": "^0.5.0"
},
"scripts": {
"build": "BABEL_ENV=dev rollup -c && npm run && npm run postbuild",
"postbuild": "npm run copybuild && npm run cleanprod && npm run removemaps",
"copybuild": "rm -rf dist/* && cp -r public/ dist/",
"cleanprod": "rm dist/*.map",
"removemaps": "sed -i '' -e '/\\/\\/# sourceMappingURL.*/d' dist/bundle.js && sed -i '' -e '/\\/\\*# sourceMappingURL.*/d' dist/bundle.css",
"dev": "BABEL_ENV=dev serve public & rollup -c -w",
"start": "serve public",
"test": "BABEL_ENV=test ava"
},
"ava": {
"files": [
"src/lib/*_test.js"
],
"failFast": true,
"tap": false,
"require": [
"babel-register",
"babel-polyfill"
],
"babel": "inherit"
}
}