Ignore data & dist folders and add prepublish npm script
parent
9648c7d8e2
commit
3f04c9cafa
|
@ -1,2 +1,4 @@
|
|||
node_modules/
|
||||
build/
|
||||
data/
|
||||
dist/
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -50,6 +50,7 @@
|
|||
"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",
|
||||
"react:15": "npm run react:clean && npm i react@^15 react-dom@^15 react-addons-test-utils@^15 --save-dev",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"prepublish": "npm run clean && npm run build"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue