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
a1858c7b
Unverified
Commit
a1858c7b
authored
8 years ago
by
Joe Haddad
Browse files
Options
Download
Email Patches
Plain Diff
Fix e2e-simple (cont.)
parent
d0695f7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/e2e-simple.sh
+5
-0
tasks/e2e-simple.sh
with
5 additions
and
0 deletions
+5
-0
tasks/e2e-simple.sh
+
5
-
0
View file @
a1858c7b
...
@@ -71,6 +71,11 @@ grep -v "lerna bootstrap" package.json > temp && mv temp package.json
...
@@ -71,6 +71,11 @@ grep -v "lerna bootstrap" package.json > temp && mv temp package.json
npm
install
npm
install
mv
package.json.bak package.json
mv
package.json.bak package.json
# We need to install create-react-app deps to test it
cd
"
$root_path
"
/packages/create-react-app
npm
install
cd
"
$root_path
"
# If the node version is < 4, the script should just give an error.
# If the node version is < 4, the script should just give an error.
if
[[
`
node
--version
|
sed
-e
's/^v//'
-e
's/\..*//g'
`
-lt
4
]]
if
[[
`
node
--version
|
sed
-e
's/^v//'
-e
's/\..*//g'
`
-lt
4
]]
then
then
...
...
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