Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Meta
create-react-app
Commits
b29572ff
Commit
b29572ff
authored
8 years ago
by
Dan Abramov
Committed by
Christopher Chedeau
8 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Add "files" whitelists to package.json
parent
cb0ada7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
global-cli/package.json
+3
-0
global-cli/package.json
package.json
+10
-0
package.json
with
13 additions
and
0 deletions
+13
-0
global-cli/package.json
+
3
-
0
View file @
b29572ff
{
{
"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"
},
},
...
...
This diff is collapsed.
Click to expand it.
package.json
+
10
-
0
View file @
b29572ff
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment