|
8 | 8 | "build:umd": "npm run clean:umd && cross-env NODE_ENV=rollup rollup -c",
|
9 | 9 | "build:es": "npm run clean:es && cross-env NODE_ENV=es babel src --out-dir dist/es",
|
10 | 10 | "build:commonjs": "npm run clean:commonjs && cross-env NODE_ENV=commonjs babel src --out-dir dist/commonjs",
|
11 |
| - "build:storybook": "npm run clean:storybook && build-storybook -o build", |
| 11 | + "build:storybook": "npm run clean:storybook && build-storybook -o example/build/storybook", |
12 | 12 | "clean:storybook": "rimraf build",
|
13 | 13 | "clean:commonjs": "rimraf dist/commonjs",
|
14 | 14 | "clean:es": "rimraf dist/es",
|
15 | 15 | "clean:umd": "rimraf dist/umd",
|
16 |
| - "start": "cross-env NODE_ENV=development webpack-dev-server --hot", |
17 |
| - "lint": "eslint src examples", |
18 |
| - "prettier": "prettier --single-quote --trailing-comma es5 --write \"{src,examples}/**/*.{js,css,md}\"", |
| 16 | + "lint": "eslint src", |
| 17 | + "prettier": "prettier --write \"{src,example/src,stories}/**/*.{js,css,md}\"", |
19 | 18 | "prepublishOnly": "npm run lint && npm run test && npm run build",
|
20 | 19 | "release": "standard-version",
|
21 | 20 | "test": "cross-env NODE_ENV=test jest",
|
22 | 21 | "test:watch": "cross-env NODE_ENV=test jest --watchAll",
|
23 | 22 | "deploy": "npm run build:storybook && gh-pages -d build",
|
24 | 23 | "storybook": "start-storybook -p ${PORT:-3001} -h 0.0.0.0"
|
25 | 24 | },
|
26 |
| - "main": "dist/commonjs/index.js", |
| 25 | + "main": "dist/umd/react-sortable-tree.js", |
27 | 26 | "module": "dist/es/index.js",
|
28 | 27 | "jsnext:main": "dist/es/index.js",
|
29 | 28 | "babel": {
|
|
0 commit comments