-
Notifications
You must be signed in to change notification settings - Fork 21
/
package.json
44 lines (44 loc) · 1.56 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
{
"name": "shortstack",
"version": "1.2.0",
"author": "Adam Argyle",
"description": "rollup & postcss bundler starter",
"license": "ISC",
"main": "index.js",
"browserslist": [
"defaults"
],
"scripts": {
"dev:js": "rollup -c -w",
"dev:css": "postcss app/css/index.css -o app/bundle.css -w",
"dev:server": "browser-sync app --files \"app/**/*, !app/css/**, !app/js/**\" --no-open --no-notify",
"prod:server": "browser-sync dist --no-open --no-notify --no-ghost-mode",
"build:pre:js": "rollup -c --environment NODE_ENV:production",
"build:pre:css": "postcss app/css/index.css -o dist/bundle.css --env production",
"build:post:copy": "cp app/index.html dist/index.html",
"build": "rimraf dist && concurrently npm:build:pre:* && concurrently npm:build:post:*",
"start": "concurrently --kill-others npm:dev:*",
"production": "npm run build && npm run prod:server"
},
"devDependencies": {
"@ampproject/rollup-plugin-closure-compiler": "0.27.0",
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"browser-sync": "^2.27.10",
"concurrently": "^7.5.0",
"cssnano": "^5.1.14",
"import-http": "^0.3.1",
"postcss": "^8.4.19",
"postcss-cli": "^10.0.0",
"postcss-import": "^15.0.0",
"postcss-import-url": "^7.0.0",
"postcss-loader": "^7.0.1",
"postcss-preset-env": "^7.8.2",
"rimraf": "^3.0.2",
"rollup": "^3.3.0",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2"
}
}