-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 2.14 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 2.14 KB
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
{
"name": "rollup-postcss-cssnext",
"version": "2.1.5",
"description": "An NPM scripts workflow for bundling Javascript with Rollup and Buble, and bundling CSS with PostCSS and CSSNext, and copying of static assets with cpx.",
"author": "Steven Klein <steven.p.klein@gmail.com>",
"license": "MIT",
"config": {
"paths": {
"src": "src",
"dest": "dist"
}
},
"scripts": {
"build": "run-s clean && run-p copy js css",
"build:prod": "cross-env NODE_ENV=production run-s clean && cross-env NODE_ENV=production run-p copy js css",
"clean": "run-p clean:*",
"clean:dist": "del-cli $npm_package_config_paths_dest",
"copy": "run-p copy:*",
"copy:static": "cpx \"$npm_package_config_paths_src/static/**/*\" $npm_package_config_paths_dest/static",
"css": "run-p css:**",
"css:app": "postcss -c postcss.config.js $npm_package_config_paths_src/css/app.css -o $npm_package_config_paths_dest/css/app.css",
"js": "run-p js:**",
"js:app": "rollup -c rollup.config.js -i $npm_package_config_paths_src/js/app.js -d $npm_package_config_paths_dest/js",
"postversion": "git push && git push --tags",
"test": "npm run build:prod",
"watch": "run-s build && run-p \"js:** --watch\" \"css:** --watch\" \"copy:** --watch\""
},
"devDependencies": {
"cpx": "^1.5.0",
"cross-env": "^5.2.0",
"cssnano": "^4.1.10",
"del-cli": "^1.1.0",
"dotenv": "^6.2.0",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.14",
"postcss-apply": "^0.12.0",
"postcss-browser-reporter": "^0.5.0",
"postcss-cli": "^6.1.2",
"postcss-hash": "^1.0.2",
"postcss-import": "^12.0.1",
"postcss-preset-env": "^6.6.0",
"postcss-reporter": "^6.0.1",
"postcss-url": "^8.0.0",
"rollup": "^1.6.0",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^9.2.1",
"rollup-plugin-includepaths": "^0.2.3",
"rollup-plugin-node-resolve": "^4.0.1",
"rollup-plugin-replace": "^2.1.0",
"rollup-plugin-uglify": "^6.0.2"
},
"browserslist": [
"last 2 versions"
],
"engines": {
"node": ">=6.0.0"
},
"dependencies": {
"lodash": "^4.17.11",
"the-answer": "^1.0.0"
}
}