add remove prop types plugin

release
Nick Filatov 2017-09-03 15:40:04 +06:00
parent dc9b114439
commit 74a0ba4c60
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
{
"presets": ["es2015", "react"],
"plugins": ["transform-object-rest-spread", "transform-runtime"]
"plugins": ["transform-object-rest-spread", "transform-runtime", "transform-react-remove-prop-types"]
}

View File

@ -59,9 +59,9 @@
"clean:dist": "rm -rf dist/",
"build:data": "node scripts/build-data",
"build:example": "node scripts/build-example",
"build:dist": "npm run clean:dist && babel src --out-dir dist --copy-files",
"build:dist": "npm run clean:dist && babel src --out-dir dist --copy-files --ignore webpack.config.js",
"build": "npm run build:data && npm run build:example && npm run build:dist",
"watch": "babel src --watch --out-dir dist --copy-files",
"watch": "babel src --watch --out-dir dist --copy-files --ignore webpack.config.js",
"start": "npm run watch",
"react:clean": "rimraf node_modules/{react,react-dom,react-addons-test-utils}",
"react:14": "npm run react:clean && npm i react@^0.14 react-dom@^0.14 react-addons-test-utils@^0.14 --save-dev",