Commit b29572ff authored by Dan Abramov's avatar Dan Abramov Committed by Christopher Chedeau
Browse files

Add "files" whitelists to package.json

parent cb0ada7a
Showing with 13 additions and 0 deletions
+13 -0
{ {
"name": "create-react-app", "name": "create-react-app",
"version": "1.0.0", "version": "1.0.0",
"files": [
"index.js"
],
"bin": { "bin": {
"create-react-app": "index.js" "create-react-app": "index.js"
}, },
......
...@@ -6,6 +6,16 @@ ...@@ -6,6 +6,16 @@
"build": "node scripts/build.js", "build": "node scripts/build.js",
"create-react-app": "node global-cli/index.js --scripts-version \"$PWD/`npm pack`\"" "create-react-app": "node global-cli/index.js --scripts-version \"$PWD/`npm pack`\""
}, },
"files": [
"LICENSE",
"PATENTS",
".eslintrc",
"bin",
"scripts",
"src",
"webpack.config.dev.js",
"webpack.config.prod.js"
],
"bin": { "bin": {
"start-react-app": "./bin/start-react-app.js", "start-react-app": "./bin/start-react-app.js",
"build-react-app": "./bin/build-react-app.js", "build-react-app": "./bin/build-react-app.js",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment