put css globalization/deglobalization into build script

This commit is contained in:
Nolan Lawson 2018-01-21 14:10:03 -08:00
parent 4a84c70dbc
commit 95edcc108a
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
"version": "0.0.1", "version": "0.0.1",
"scripts": { "scripts": {
"dev": "concurrently --kill-others \"npm run build-sass-watch\" \"node server.js\"", "dev": "concurrently --kill-others \"npm run build-sass-watch\" \"node server.js\"",
"build": "npm run build-sass && sapper build", "build": "npm run globalize-css && npm run build-sass && sapper build && npm run deglobalize-css",
"start": "cross-env NODE_ENV=production node server.js", "start": "cross-env NODE_ENV=production node server.js",
"build-sass": "node ./bin/build-sass", "build-sass": "node ./bin/build-sass",
"build-sass-watch": "node ./bin/build-sass --watch", "build-sass-watch": "node ./bin/build-sass --watch",