Skip to content

Commit efd7f89

Browse files
set script for building style and themes
1 parent cb8f12d commit efd7f89

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

package.json

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,17 @@
1616
},
1717
"scripts": {
1818
"watch": "npm-run-all --parallel watch:*",
19-
"watch:scss": "sass --watch themes/scss:themes style/scss:style",
20-
"watch:dev": "cross-env BABEL_OUTPUT=umd INCLUDE_POLYFILLS=true webpack --config webpack.config.js --env=development --watch",
21-
"build": "npm-run-all clean:* --parallel build:lib:* build:scss:* & npm-run-all --parallel build:umd:* build:minify:*",
19+
"watch:scss": "sass --watch themes/scss:themes style/scss:style --no-source-map",
20+
"watch:js": "cross-env BABEL_OUTPUT=umd INCLUDE_POLYFILLS=true webpack --config webpack.config.js --env=development --watch",
21+
"build": "npm-run-all clean:* --parallel build:lib:* build:scss:* & npm-run-all --parallel build:umd:*",
2222
"build:umd:dev": "cross-env BABEL_OUTPUT=umd INCLUDE_POLYFILLS=true webpack --config webpack.config.js --env=development",
2323
"build:umd:prod": "rollup -c",
2424
"build:umd:prod-pf": "cross-env INCLUDE_POLYFILLS=true rollup -c",
2525
"build:lib:cjs": "cross-env BABEL_OUTPUT=cjs babel src/ --out-dir lib/cjs/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
2626
"build:lib:esm": "babel src/ --out-dir lib/esm/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
2727
"build:lib:esm-pf": "cross-env INCLUDE_POLYFILLS=true babel src/ --out-dir lib/esm-including-polyfills/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
28-
"build:scss:theme": "sass themes/scss:themes",
29-
"build:scss:style": "sass style/scss:style",
30-
"build:minify:style": "sass style/react-dyn-tabs.css:style/react-dyn-tabs.min.css --style compressed",
31-
"build:minify:basic": "sass themes/basic.css:themes/basic.min.css --style compressed",
32-
"build:minify:bootstrap": "sass themes/bootstrap.css:themes/bootstrap.min.css --style compressed",
33-
"build:minify:classic": "sass themes/classic.css:themes/classic.min.css --style compressed",
34-
"build:minify:card": "sass themes/card.css:themes/card.min.css --style compressed",
28+
"build:scss:dev": "sass themes/scss:themes style/scss:style --no-source-map",
29+
"build:scss:pro": "sass themes/minified-scss:themes style/minified-scss:style --style compressed --no-source-map",
3530
"clean:lib": "rimraf lib",
3631
"clean:dist": "rimraf dist",
3732
"prepublish": "npm run build",

0 commit comments

Comments
 (0)