Skip to content

Commit

Permalink
hopefully the deploy will work with this...
Browse files Browse the repository at this point in the history
  • Loading branch information
Kent C. Dodds committed Feb 2, 2018
1 parent e06507d commit 0c34f85
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
12 changes: 11 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,17 @@
"validate": "concurrently --names \"lint,test:coverage,test:e2e\" --prefix \"[{name}]\" --prefix-colors \"bgGreen.reset.bold,bgBlue.reset.bold,bgRed.reset.bold\" \"npm run lint --silent\" \"npm run test:coverage --silent\" \"npm run test:e2e --silent\"",
"precommit": "lint-staged && npm run --silent validate",
"clean": "rimraf node_modules ./client/node_modules ./server/node_modules",
"setup": "node ./scripts/verify && node ./scripts/install && npm run validate"
"setup": "node ./scripts/verify && node ./scripts/install && npm run validate",
"now-build": "cd server && npm install",
"now-start": "node ./server"
},
"now": {
"name": "til",
"alias": "til.now.sh",
"files": [
"./server",
"./shared"
]
},
"dependencies": {
"jsonwebtoken": "^8.1.1"
Expand Down
1 change: 0 additions & 1 deletion scripts/deploy.sh
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
6 changes: 0 additions & 6 deletions server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 0c34f85

Please sign in to comment.