Skip to content
This repository has been archived by the owner on Dec 16, 2019. It is now read-only.

Commit

Permalink
update to now v2, swap yarn.lock for package-lock.json
Browse files Browse the repository at this point in the history
Signed-off-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
mcansh committed Nov 30, 2018
1 parent a7bb539 commit 380c411
Show file tree
Hide file tree
Showing 4 changed files with 12,322 additions and 7,584 deletions.
5 changes: 3 additions & 2 deletions .nowignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
__tests__
flow-typed
.eslintignore
.eslintrc.js
.flowconfig
.gitignore
.travis.yml
.yarnrc
Dockerfile
license.markdown
jest*
readme.markdown
.next
node_modules
yarn.lock
20 changes: 3 additions & 17 deletions now.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,8 @@
"version": 2,
"builds": [
{
"src": "**",
"use": "@now/static"
"src": "package.json",
"use": "@now/static-build@canary"
}
],
"static": {
"directoryListing": false,
"headers": [
{
"source": "**/static/**",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=31536000, immutable"
}
]
}
]
}
]
}
Loading

0 comments on commit 380c411

Please sign in to comment.