add remove prop types plugin
parent
dc9b114439
commit
74a0ba4c60
2
.babelrc
2
.babelrc
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue