Skip to content

Commit 5b6c1f4

Browse files
committed
add ncp package
1 parent 1b800a6 commit 5b6c1f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"lint": "stylelint '*/**/*.scss' --syntax scss",
88
"sass": "node-sass --output-style compressed --include-path ./nebula-css/ -o demo/dist demo/scss/main.scss",
99
"autoprefixer": "postcss -u autoprefixer --autoprefixer.browsers 'last 2 versions' 'ie 9-11' -r demo/dist/main.css",
10-
"build": "npm run lint && npm run sass && npm run autoprefixer && cp -r demo/assets/ demo/dist/assets",
10+
"build": "npm run lint && npm run sass && npm run autoprefixer && ncp demo/assets/ demo/dist/assets",
1111
"start": "npm run build && onchange '*/**/*.scss' -- npm run build",
1212
"serve": "http-server demo",
1313
"test": "npm run lint"
@@ -33,6 +33,7 @@
3333
"devDependencies": {
3434
"autoprefixer": "^6.3.5",
3535
"http-server": "^0.9.0",
36+
"ncp": "^2.0.0",
3637
"node-sass": "^3.4.2",
3738
"onchange": "^2.2.0",
3839
"postcss-cli": "^2.5.1",

0 commit comments

Comments
 (0)