Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 16 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-plotly.js-editor",
"description": "plotly.js chart editor react component UI",
"version": "0.9.0",
"version": "0.9.1",
"author": "Plotly, Inc.",
"bugs": {
"url": "https://github.com/plotly/react-plotly.js-editor/issues"
Expand Down Expand Up @@ -71,9 +71,7 @@
},
"homepage": "https://plotly.github.io/react-plotly.js-editor/",
"jest": {
"roots": [
"<rootDir>/src/"
],
"roots": ["<rootDir>/src/"],
"moduleNameMapper": {
"^.+\\.css$": "<rootDir>/config/CSSStub.js"
}
Expand Down Expand Up @@ -102,18 +100,25 @@
"scripts": {
"lint": "prettier --write \"src/**/*.js\"",
"make:arrows": "node scripts/makeArrows.js",
"make:combined-translation-keys": "npm run make:translation-keys && node scripts/combineTranslationKeys.js",
"make:lib": "mkdirp lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys",
"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",
"make:lib:js": "mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps",
"make:combined-translation-keys":
"npm run make:translation-keys && node scripts/combineTranslationKeys.js",
"make:lib":
"mkdirp lib && npm run make:lib:js && npm run make:lib:css && npm run make:combined-translation-keys",
"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",
"make:lib:js":
"mkdirp lib && babel src --out-dir lib --ignore=__tests__/* --source-maps",
"make:translation-keys": "node scripts/findTranslationKeys.js",
"prepublishOnly": "npm run make:lib",
"start": "webpack-dev-server --hot",
"test": "npm run test:lint && npm run test:pretty && npm run test:js",
"test:js": "jest --setupTestFrameworkScriptFile=raf/polyfill",
"test:lint": "eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
"test:pretty": "prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
"watch": "babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-plotly.js-editor.css",
"test:lint":
"eslint \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
"test:pretty":
"prettier -l \"src/**/*.js\" && echo -e '\\033[0;32m'PASS'\\033[0m'",
"watch":
"babel src --watch --out-dir lib --source-maps | node-sass -w src/styles/main.scss lib/react-plotly.js-editor.css",
"watch-test": "jest --watch"
}
}
Loading