forked from FrontendMasters/testing-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hopefully the deploy will work with this...
- Loading branch information
Kent C. Dodds
committed
Feb 2, 2018
1 parent
e06507d
commit 0c34f85
Showing
3 changed files
with
11 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
npm i -g now | ||
cd server | ||
now -e NODE_ENV=production --token $NOW_TOKEN --npm deploy --public | ||
now alias --token=$NOW_TOKEN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,14 +7,8 @@ | |
"start": "cross-env NODE_ENV=production node .", | ||
"dev": "node .", | ||
"build": "babel --ignore __tests__,__mocks__ --out-dir dist src", | ||
"now-build": "echo \"build was run on CI\"", | ||
"now-start": "node .", | ||
"test": "cd .. && npm run test:server --silent" | ||
}, | ||
"now": { | ||
"name": "til", | ||
"alias": "til.now.sh" | ||
}, | ||
"author": "Kent C. Dodds <[email protected]> (http://kentcdodds.com/)", | ||
"license": "MIT", | ||
"dependencies": { | ||
|