|
6 | 6 | "bugs": { |
7 | 7 | "url": "https://github.com/plotly/react-chart-editor/issues" |
8 | 8 | }, |
| 9 | + "scripts": { |
| 10 | + "lint": "prettier --write \"src/**/*.js\"", |
| 11 | + "make:arrows": "node scripts/makeArrows.js", |
| 12 | + "make:combined-translation-keys": "npm run make:translation-keys && node scripts/combineTranslationKeys.js", |
| 13 | + "make:lib:css": "mkdirp lib && babel-node scripts/styles.js && SASS_ENV=ie babel-node scripts/styles.js && babel-node scripts/postcss.js && SASS_ENV=ie babel-node scripts/postcss.js", |
| 14 | + "make:lib:js": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps", |
| 15 | + "make:lib": "rimraf lib && mkdir lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys", |
| 16 | + "make:translation-keys": "node scripts/findTranslationKeys.js", |
| 17 | + "prepublishOnly": "npm run make:lib", |
| 18 | + "start": "webpack-dev-server --hot", |
| 19 | + "storybook": "start-storybook -p 9001 -c .storybook", |
| 20 | + "test": "npm run test:lint && npm run test:pretty && npm run test:js", |
| 21 | + "test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill --maxWorkers=2", |
| 22 | + "test:lint": "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
| 23 | + "test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
| 24 | + "test:percy": "node --max-old-space-size=4096 $(npm bin)/build-storybook && percy-storybook --widths=500", |
| 25 | + "test:percy-local": "node --max-old-space-size=4096 $(npm bin)/build-storybook", |
| 26 | + "watch": "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-chart-editor.css", |
| 27 | + "watch-test": "jest --watch" |
| 28 | + }, |
9 | 29 | "dependencies": { |
10 | 30 | "@plotly/draft-js-export-html": "1.2.0", |
11 | 31 | "classnames": "^2.2.6", |
|
31 | 51 | "tinycolor2": "^1.4.1" |
32 | 52 | }, |
33 | 53 | "devDependencies": { |
34 | | - "@babel/cli": "7.7.5", |
35 | | - "@babel/core": "7.7.5", |
36 | | - "@babel/node": "7.7.4", |
37 | | - "@babel/plugin-proposal-object-rest-spread": "7.7.4", |
| 54 | + "@babel/cli": "7.7.7", |
| 55 | + "@babel/core": "7.7.7", |
| 56 | + "@babel/node": "7.7.7", |
| 57 | + "@babel/plugin-proposal-object-rest-spread": "7.7.7", |
38 | 58 | "@babel/polyfill": "7.7.0", |
39 | | - "@babel/preset-env": "7.7.6", |
| 59 | + "@babel/preset-env": "7.7.7", |
40 | 60 | "@babel/preset-react": "7.7.4", |
41 | 61 | "@babel/traverse": "7.7.4", |
42 | 62 | "@hot-loader/react-dom": "16.11.0", |
|
47 | 67 | "babel-jest": "24.9.0", |
48 | 68 | "babel-loader": "8.0.6", |
49 | 69 | "babel-plugin-module-resolver": "4.0.0", |
50 | | - "css-loader": "3.3.2", |
| 70 | + "css-loader": "3.4.0", |
51 | 71 | "cssnano": "4.1.10", |
52 | | - "enzyme": "3.10.0", |
53 | | - "enzyme-adapter-react-16": "1.15.1", |
54 | | - "eslint": "6.7.2", |
| 72 | + "enzyme": "3.11.0", |
| 73 | + "enzyme-adapter-react-16": "1.15.2", |
| 74 | + "eslint": "6.8.0", |
55 | 75 | "eslint-config-prettier": "6.7.0", |
56 | 76 | "eslint-plugin-import": "2.19.1", |
57 | 77 | "eslint-plugin-react": "7.17.0", |
|
62 | 82 | "jest-cli": "24.9.0", |
63 | 83 | "mkdirp": "0.5.1", |
64 | 84 | "node-sass": "4.13.0", |
65 | | - "postcss": "7.0.24", |
| 85 | + "postcss": "7.0.25", |
66 | 86 | "postcss-combine-duplicated-selectors": "8.0.3", |
67 | 87 | "postcss-custom-properties": "8.0.11", |
68 | 88 | "postcss-remove-root": "0.0.2", |
|
76 | 96 | "request": "2.88.0", |
77 | 97 | "rimraf": "3.0.0", |
78 | 98 | "sass-loader": "7.1.0", |
79 | | - "style-loader": "1.0.1", |
80 | | - "webpack": "4.41.3", |
| 99 | + "style-loader": "1.1.1", |
| 100 | + "webpack": "4.41.4", |
81 | 101 | "webpack-cli": "3.3.10", |
82 | | - "webpack-dev-server": "3.9.0" |
| 102 | + "webpack-dev-server": "3.10.1" |
83 | 103 | }, |
84 | 104 | "peerDependencies": { |
85 | 105 | "react": ">15", |
|
113 | 133 | }, |
114 | 134 | "browserslist": [ |
115 | 135 | "ie 11" |
116 | | - ], |
117 | | - "scripts": { |
118 | | - "lint": "prettier --write \"src/**/*.js\"", |
119 | | - "make:arrows": "node scripts/makeArrows.js", |
120 | | - "make:combined-translation-keys": "npm run make:translation-keys && node scripts/combineTranslationKeys.js", |
121 | | - "make:lib:css": "mkdirp lib && babel-node scripts/styles.js && SASS_ENV=ie babel-node scripts/styles.js && babel-node scripts/postcss.js && SASS_ENV=ie babel-node scripts/postcss.js", |
122 | | - "make:lib:js": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps", |
123 | | - "make:lib": "rimraf lib && mkdir lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys", |
124 | | - "make:translation-keys": "node scripts/findTranslationKeys.js", |
125 | | - "prepublishOnly": "npm run make:lib", |
126 | | - "start": "webpack-dev-server --hot", |
127 | | - "storybook": "start-storybook -p 9001 -c .storybook", |
128 | | - "test": "npm run test:lint && npm run test:pretty && npm run test:js", |
129 | | - "test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill --maxWorkers=2", |
130 | | - "test:lint": "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
131 | | - "test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
132 | | - "test:percy": "node --max-old-space-size=4096 $(npm bin)/build-storybook && percy-storybook --widths=500", |
133 | | - "test:percy-local": "node --max-old-space-size=4096 $(npm bin)/build-storybook", |
134 | | - "watch": "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-chart-editor.css", |
135 | | - "watch-test": "jest --watch" |
136 | | - } |
| 136 | + ] |
137 | 137 | } |
0 commit comments