-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
executable file
·39 lines (39 loc) · 1.54 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
{
"name": "kitekure",
"version": "1.0.0",
"description": "The club event site builder",
"author": "sanographix",
"license": "MIT",
"repository": "https://github.com/sanographix/kitekure",
"scripts": {
"prestart": "npm run build",
"start": "npm-run-all -p watch server",
"scss": "sass src/scss/style.scss build/_src/style.css --style compressed",
"autoprefixer": "postcss --use autoprefixer -r build/_src/style.css",
"ejs": "ejs-cli --base-dir src/templates/pages/ --file '**/**.ejs' --out build/",
"server": "browser-sync start -c bs-config.js",
"clean": "rimraf build/_src/*",
"build": "npm run clean & mkdirp build/_src & npm-run-all -p build:* & npm run ejs",
"build:css": "npm-run-all scss autoprefixer",
"build:js_preview": "uglifyjs src/js/preview/* --comments some --compress -o build/_src/preview.js",
"build:js_index": "uglifyjs src/js/index/* --comments some --compress -o build/_src/index.js",
"watch": "npm-run-all -p watch:*",
"watch:css": "onchange 'src/scss/' -- npm run build:css",
"watch:ejs": "onchange 'src/templates/' -- npm run ejs",
"watch:js": "onchange 'src/js/' -- npm-run-all build:js_preview build:js_index"
},
"devDependencies": {
"autoprefixer": "^10.3.3",
"browser-sync": "^2.27.5",
"chokidar-cli": "^3.0.0",
"ejs-cli": "^2.2.1",
"mkdirp": "^1.0.4",
"normalize.css": "^8.0.1",
"npm-run-all": "^4.1.5",
"onchange": "^7.1.0",
"postcss-cli": "^8.3.1",
"rimraf": "^3.0.2",
"sass": "^1.53.0",
"uglify-es": "^3.3.9"
}
}