Skip to content

Commit 10b0ac7

Browse files
committed
use plotly-icons v1.0.1
1 parent d68c4d4 commit 10b0ac7

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

package.json

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,28 @@
1313
"url": "https://github.com/plotly/react-plotly.js-editor/issues"
1414
},
1515
"scripts": {
16-
"make:combined-translation-keys": "babel-node utils/findTranslationKeys.js && babel-node utils/combineTranslationKeys.js",
16+
"make:combined-translation-keys":
17+
"babel-node utils/findTranslationKeys.js && babel-node utils/combineTranslationKeys.js",
1718
"make:translation-keys": "babel-node utils/findTranslationKeys.js",
18-
"make:lib": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps && npm run make:lib:css",
19-
"make:lib:css": "mkdirp lib && node-sass src/styles/main.scss > lib/react-plotly.js-editor.css",
20-
"make:dist": "mkdirp dist && browserify src/PlotlyEditor.js -o ./dist/PlotlyEditor.js -t [ babelify --presets [ es2015 react ] ] -t browserify-global-shim --standalone createPlotlyComponent && uglifyjs ./dist/PlotlyEditor.js --compress --mangle --output ./dist/PlotlyEditor.min.js --source-map filename=dist/PlotlyEditor.min.js.map && make:dist:css",
21-
"make:dist:css": "mkdirp dist && node-sass --output-style compressed src/styles/main.scss > dist/react-plotly.js-editor.css",
22-
"prepublishOnly": "npm run make:lib && npm run make:combined-translation-keys",
19+
"make:lib":
20+
"mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps && npm run make:lib:css",
21+
"make:lib:css":
22+
"mkdirp lib && node-sass src/styles/main.scss > lib/react-plotly.js-editor.css",
23+
"make:dist":
24+
"mkdirp dist && browserify src/PlotlyEditor.js -o ./dist/PlotlyEditor.js -t [ babelify --presets [ es2015 react ] ] -t browserify-global-shim --standalone createPlotlyComponent && uglifyjs ./dist/PlotlyEditor.js --compress --mangle --output ./dist/PlotlyEditor.min.js --source-map filename=dist/PlotlyEditor.min.js.map && make:dist:css",
25+
"make:dist:css":
26+
"mkdirp dist && node-sass --output-style compressed src/styles/main.scss > dist/react-plotly.js-editor.css",
27+
"prepublishOnly":
28+
"npm run make:lib && npm run make:combined-translation-keys",
2329
"lint": "prettier --write \"src/**/*.js\"",
24-
"test:lint": "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
25-
"test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
30+
"test:lint":
31+
"eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
32+
"test:pretty":
33+
"prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
2634
"test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill",
2735
"test": "npm run test:lint && npm run test:pretty && npm run test:js",
28-
"watch": "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-plotly.js-editor.css",
36+
"watch":
37+
"babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-plotly.js-editor.css",
2938
"watch-test": "jest --watch"
3039
},
3140
"keywords": [
@@ -77,7 +86,7 @@
7786
"draft-js-import-html": "^1.2.1",
7887
"draft-js-utils": "^1.2.0",
7988
"fast-isnumeric": "^1.1.1",
80-
"plotly-icons": "^1.0.0",
89+
"plotly-icons": "^1.0.1",
8190
"plotly.js": "^1.31.2",
8291
"prop-types": "^15.5.10",
8392
"raf": "^3.4.0",
@@ -91,9 +100,7 @@
91100
"react": "React"
92101
},
93102
"jest": {
94-
"roots": [
95-
"<rootDir>/src/"
96-
],
103+
"roots": ["<rootDir>/src/"],
97104
"moduleNameMapper": {
98105
"^.+\\.css$": "<rootDir>/config/CSSStub.js"
99106
}

0 commit comments

Comments
 (0)