-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
34 lines (34 loc) · 1.52 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
{
"name": "docs.modmore.com",
"version": "1.0.0",
"private": true,
"devDependencies": {
"bower": "1.x.x",
"esprima": "^3.1.0",
"jshint": "latest",
"live-reload": "1.x.x",
"mkdirp": "^0.5.1",
"sass": "^1.32.8",
"parallelshell": "2.0.x",
"rimraf": "latest",
"svg-sprite": "1.0.x",
"watch": "0.x.x"
},
"scripts": {
"clean": "rimr4af themes/modmore/dist/*",
"lint": "jshint src/js",
"prebuild:js": "npm run lint",
"build:js": "node node_modules/npm-build-tools/index.js --path \"src/js/\" --ext \"js\" --outputDir \"themes/modmore/dist/\"",
"build:css": "sass --style=compressed src/scss:themes/modmore/dist",
"build:cssss": "node node_modules/npm-build-tools/index.js --path \"src/scss/\" --ext \"scss\" --outputDir \"themes/modmore/dist/\" --outputStyle \"compressed\" --browsers \"['> 2%', 'last 2 versions', 'ie >= 9', 'and_chr >= 2.3']\"",
"build:svg": "svg-sprite --symbol --symbol-dest themes/modmore/dist --symbol-sprite sprite.svg src/svg/*.svg",
"build": "npm run build:js && npm run build:css && npm run build:svg",
"watch": "parallelshell \"npm run watch:css\" \"npm run watch:js\" \"npm run watch:svg\"",
"watch:css": "watch \"npm run build:css\" src/scss",
"watch:js": "watch \"npm run build:js\" src/js",
"watch:svg": "watch \"npm run build:svg\" src/svg",
"gitify": "watch \"Gitify build\" _gitify",
"live-reload": "live-reload --port 9091 --delay 1000 themes/modmore/dist/",
"start": "npm run live-reload -s & npm run watch -s"
}
}