forked from CityOfPhiladelphia/standards-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
32 lines (32 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
{
"name": "phila-standards-docs",
"version": "0.1.0",
"description": "City of Philadelphia Standards documentation",
"main": "static/js/main.js",
"repository": "https://github.com/CityOfPhiladelphia/standards-docs.git",
"author": "City of Philadelphia",
"license": "GPL-3.0",
"dependencies": {
"clipboard": "^1.7.1",
"jquery": "^3.2.1",
"list.js": "^1.5.0",
"phila-standards": "^1.1.1"
},
"devDependencies": {
"browserify": "^14.1.0",
"browserify-shim": "^3.8.14",
"mkdirp": "^0.5.1",
"node-sass": "^4.5.0",
"onchange": "^3.2.1",
"rimraf": "^2.6.1"
},
"scripts": {
"clean": "rimraf public/*",
"prebuild": "mkdirp themes/phila.gov/static/js && mkdirp static/js static",
"build:theme": "node-sass --include-path node_modules/foundation-sites/scss --include-path node_modules/phila-standards/src/sass --output-style compressed --source-map true themes/phila.gov/static-src/scss/standards.scss themes/phila.gov/static/css/standards.css && browserify themes/phila.gov/static-src/js/standards.js -o themes/phila.gov/static/js/standards.js && cp -R node_modules/phila-standards/src/img themes/phila.gov/static",
"build:app": "cp *node_modules/phila-standards/dist/css/phila-app.min.css* themes/phila.gov/static/css/",
"build:site": "node-sass static-src/scss/style-guide.scss static/css/styles.css && browserify static-src/js/main.js -o static/js/scripts.js",
"build": "yarn build:site && yarn build:theme && yarn build:app",
"watch": "onchange 'static-src/scss' 'static-src/js' -- yarn run build:site"
}
}