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
12f1a8ee
Commit
12f1a8ee
authored
7 years ago
by
Joe Haddad
Committed by
GitHub
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Clean target directory before compiling overlay (#3102)
* Clean target directory before compiling overlay * Use rimraf
parent
44cfbccf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/react-error-overlay/package.json
+5
-4
packages/react-error-overlay/package.json
with
5 additions
and
4 deletions
+5
-4
packages/react-error-overlay/package.json
+
5
-
4
View file @
12f1a8ee
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
"main"
:
"lib/index.js"
,
"main"
:
"lib/index.js"
,
"scripts"
:
{
"scripts"
:
{
"prepublishOnly"
:
"npm run build:prod && npm test"
,
"prepublishOnly"
:
"npm run build:prod && npm test"
,
"start"
:
"cross-env NODE_ENV=development npm run build -- --watch"
,
"start"
:
"
rimraf lib/ &&
cross-env NODE_ENV=development npm run build -- --watch"
,
"test"
:
"flow && jest"
,
"test"
:
"flow && jest"
,
"build"
:
"babel src/ -d lib/"
,
"build"
:
"
rimraf lib/ &&
babel src/ -d lib/"
,
"build:prod"
:
"cross-env NODE_ENV=production babel src/ -d lib/"
"build:prod"
:
"
rimraf lib/ &&
cross-env NODE_ENV=production babel src/ -d lib/"
},
},
"repository"
:
"facebookincubator/create-react-app"
,
"repository"
:
"facebookincubator/create-react-app"
,
"license"
:
"BSD-3-Clause"
,
"license"
:
"BSD-3-Clause"
,
...
@@ -53,7 +53,8 @@
...
@@ -53,7 +53,8 @@
"eslint-plugin-react"
:
"7.1.0"
,
"eslint-plugin-react"
:
"7.1.0"
,
"flow-bin"
:
"0.52.0"
,
"flow-bin"
:
"0.52.0"
,
"jest"
:
"20.0.4"
,
"jest"
:
"20.0.4"
,
"jest-fetch-mock"
:
"1.2.1"
"jest-fetch-mock"
:
"1.2.1"
,
"rimraf"
:
"^2.6.1"
},
},
"jest"
:
{
"jest"
:
{
"setupFiles"
:
[
"setupFiles"
:
[
...
...
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