forked from bartaz/snapcraft-flask
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
23 lines (23 loc) · 1.08 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
{
"scripts": {
"test": "sass-lint static/**/*.scss --verbose --no-exit",
"build": "yarn run build-js && yarn run build-css",
"build-css": "node-sass --include-path node_modules static/sass --output static/css && postcss --use autoprefixer --replace 'static/css/**/*.css' && postcss --use cssnano --dir static/minified 'static/css/**/*.css'",
"build-js": "cp node_modules/d3/build/d3.min.js static/js/modules && cp node_modules/d3-geo/build/d3-geo.min.js static/js/modules && cp node_modules/topojson-client/dist/topojson-client.min.js static/js/modules",
"watch": "watch -p 'static/sass/*.scss' -c 'yarn run build-css'",
"clean": "rm -rf node_modules yarn-error.log css static/css *.log *.sqlite _site/ build/ .jekyll-metadata .bundle"
},
"author": "Canonical webteam",
"dependencies": {
"autoprefixer": "^7.1.3",
"cssnano": "^3.10.0",
"d3": "^4.10.2",
"d3-geo": "^1.9.0",
"node-sass": "^4.5.3",
"postcss-cli": "^4.1.0",
"sass-lint": "^1.10.2",
"topojson-client": "^3.0.0",
"vanilla-framework": "1.5.2",
"watch-cli": "^0.2.2"
}
}