|
19 | 19 | "main": "lib/index.js",
|
20 | 20 | "browser": "lib/index.browser.js",
|
21 | 21 | "scripts": {
|
22 |
| - "build-less": "lessc src/less/react-checkbox-tree.less .css-compare/less.css", |
23 | 22 | "build-script": "npm run build-script-node && npm run build-script-web",
|
24 | 23 | "build-script-node": "webpack --env=target=node",
|
25 | 24 | "build-script-web": "webpack --env=target=web",
|
26 |
| - "build-sass": "sass src/scss/react-checkbox-tree.scss lib/react-checkbox-tree.css && cp lib/react-checkbox-tree.css .css-compare/scss.css", |
27 |
| - "build-style": "npm run build-less && npm run build-sass && npm run build-style-autoprefix", |
| 25 | + "build-scss": "sass src/scss/react-checkbox-tree.scss lib/react-checkbox-tree.css", |
| 26 | + "build-style": "npm run build-scss && npm run build-style-autoprefix", |
28 | 27 | "build-style-autoprefix": "postcss lib/react-checkbox-tree.css --use autoprefixer --output lib/react-checkbox-tree.css",
|
29 | 28 | "build": "npm run build-script && npm run build-style",
|
30 | 29 | "examples": "webpack serve --config=webpack.config.test.js",
|
31 | 30 | "gh-build": "webpack --config=webpack.config.test.js --mode=production",
|
32 | 31 | "gh-deploy": "npm run gh-build && bash ./gh-deploy.sh",
|
33 | 32 | "prepublishOnly": "npm run release",
|
34 |
| - "release": "npm run test && npm run build && npm run test-style-equivalence", |
| 33 | + "release": "npm run test && npm run build", |
35 | 34 | "test": "npm run test-script && npm run test-style",
|
36 | 35 | "test-script": "npm run test-script-format && npm run test-script-mocha",
|
37 | 36 | "test-script-format": "eslint src/**/*.{js,jsx} examples/src/**/*.{js,jsx} test/**/*.{js,jsx} *.{js,jsx}",
|
38 | 37 | "test-script-mocha": "cross-env NODE_PATH=./src mocha test/**/*.{js,jsx} --exit",
|
39 |
| - "test-style": "stylelint src/scss/**/*.scss examples/src/scss/**/*.scss", |
40 |
| - "test-style-equivalence": "postcss .css-compare/less.css --output .css-compare/less.css && postcss .css-compare/scss.css --output .css-compare/scss.css && cmp .css-compare/less.css .css-compare/scss.css" |
| 38 | + "test-style": "stylelint src/scss/**/*.scss examples/src/scss/**/*.scss" |
41 | 39 | },
|
42 | 40 | "peerDependencies": {
|
43 | 41 | "react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
|
|
0 commit comments