|
1 | 1 | {
|
2 | 2 | "name": "react-plotly.js-editor",
|
3 | 3 | "description": "plotly.js chart editor react component UI",
|
4 |
| - "version": "0.9.0", |
| 4 | + "version": "0.9.1", |
5 | 5 | "author": "Plotly, Inc.",
|
6 | 6 | "bugs": {
|
7 | 7 | "url": "https://github.com/plotly/react-plotly.js-editor/issues"
|
|
71 | 71 | },
|
72 | 72 | "homepage": "https://plotly.github.io/react-plotly.js-editor/",
|
73 | 73 | "jest": {
|
74 |
| - "roots": [ |
75 |
| - "<rootDir>/src/" |
76 |
| - ], |
| 74 | + "roots": ["<rootDir>/src/"], |
77 | 75 | "moduleNameMapper": {
|
78 | 76 | "^.+\\.css$": "<rootDir>/config/CSSStub.js"
|
79 | 77 | }
|
|
102 | 100 | "scripts": {
|
103 | 101 | "lint": "prettier --write \"src/**/*.js\"",
|
104 | 102 | "make:arrows": "node scripts/makeArrows.js",
|
105 |
| - "make:combined-translation-keys": "npm run make:translation-keys && node scripts/combineTranslationKeys.js", |
106 |
| - "make:lib": "mkdirp lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys", |
107 |
| - "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", |
108 |
| - "make:lib:js": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps", |
| 103 | + "make:combined-translation-keys": |
| 104 | + "npm run make:translation-keys && node scripts/combineTranslationKeys.js", |
| 105 | + "make:lib": |
| 106 | + "mkdirp lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys", |
| 107 | + "make:lib:css": |
| 108 | + "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", |
| 109 | + "make:lib:js": |
| 110 | + "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps", |
109 | 111 | "make:translation-keys": "node scripts/findTranslationKeys.js",
|
110 | 112 | "prepublishOnly": "npm run make:lib",
|
111 | 113 | "start": "webpack-dev-server --hot",
|
112 | 114 | "test": "npm run test:lint && npm run test:pretty && npm run test:js",
|
113 | 115 | "test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill",
|
114 |
| - "test:lint": "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
115 |
| - "test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
116 |
| - "watch": "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-plotly.js-editor.css", |
| 116 | + "test:lint": |
| 117 | + "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
| 118 | + "test:pretty": |
| 119 | + "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'", |
| 120 | + "watch": |
| 121 | + "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-plotly.js-editor.css", |
117 | 122 | "watch-test": "jest --watch"
|
118 | 123 | }
|
119 | 124 | }
|
0 commit comments