|
15 | 15 | "url": "https://github.com/dev-javascript/react-dyn-tabs/issues"
|
16 | 16 | },
|
17 | 17 | "scripts": {
|
18 |
| - "build": "npm-run-all clean:* --parallel build:lib:* & npm-run-all --parallel build:umd:*", |
19 |
| - "build:dev:watch": "cross-env BABEL_OUTPUT=umd INCLUDE_POLYFILLS=true webpack --config webpack.config.js --env=development --watch", |
| 18 | + "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:*", |
20 | 22 | "build:umd:dev": "cross-env BABEL_OUTPUT=umd INCLUDE_POLYFILLS=true webpack --config webpack.config.js --env=development",
|
21 | 23 | "build:umd:prod": "rollup -c",
|
22 | 24 | "build:umd:prod-pf": "cross-env INCLUDE_POLYFILLS=true rollup -c",
|
23 | 25 | "build:lib:cjs": "cross-env BABEL_OUTPUT=cjs babel src/ --out-dir lib/cjs/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
|
24 | 26 | "build:lib:esm": "babel src/ --out-dir lib/esm/ --ignore **/__tests__,**/__mocks__,**/*.test.js,**/*.js.snap",
|
25 | 27 | "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", |
26 | 35 | "clean:lib": "rimraf lib",
|
27 | 36 | "clean:dist": "rimraf dist",
|
28 | 37 | "prepublish": "npm run build",
|
|
64 | 73 | "reactstrap": "^8.5.1",
|
65 | 74 | "rollup": "^2.41.0",
|
66 | 75 | "rollup-plugin-terser": "7.0.2",
|
| 76 | + "sass": "^1.35.2", |
67 | 77 | "style-loader": "^1.2.1",
|
68 | 78 | "webpack": "^4.44.1",
|
69 | 79 | "webpack-cli": "^3.3.12"
|
|
0 commit comments