Compile to dist dir and remove building from test script
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -221,3 +221,4 @@ $RECYCLE.BIN/
|
||||
# Ignores compiled CSS
|
||||
src/**/*.css
|
||||
demo**/*.css
|
||||
dist
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "npm run core:build && node ./node_modules/jest/bin/jest.js src/tests",
|
||||
"test": "node ./node_modules/jest/bin/jest.js src/tests",
|
||||
"cov": "npm run core:build && node ./node_modules/jest/bin/jest.js src/tests --coverage",
|
||||
"core:build": "./node_modules/.bin/babel src --out-dir lib --source-maps",
|
||||
"core:build": "./node_modules/.bin/babel src --out-dir dist --source-maps",
|
||||
"build-demo-css": "node-sass-chokidar --include-path ./src/client/scss demo/ -o demo/",
|
||||
"watch-demo-css": "npm run build-demo-css && node-sass-chokidar --include-path ./src/client/scss demo/ -o demo/ --watch --recursive",
|
||||
"build-module-css": "node-sass-chokidar --include-path ./src/client/scss src/ -o src/",
|
||||
|
||||
Reference in New Issue
Block a user