We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 691dbf5 commit 1c87dd8Copy full SHA for 1c87dd8
now.json
@@ -1,4 +1,11 @@
1
{
2
- "type": "static",
+ "version": 2,
3
+ "builds": [
4
+ {
5
+ "src": "package.json",
6
+ "use": "@now/static-build",
7
+ "config": { "distDir": "public" }
8
+ }
9
+ ],
10
"alias": "ohjelmointi-19.mooc.fi"
11
}
package.json
@@ -73,7 +73,9 @@
73
"format": "prettier --write 'src/**/*.js'",
74
"prettier-check": "prettier --list-different 'src/**/*.js'",
75
"test": "echo \"Error: no test specified\" && exit 1",
76
- "upgrade-interactive": "npm-check --update"
+ "upgrade-interactive": "npm-check --update",
77
+ "now-dev": "gatsby develop -p $PORT",
78
+ "now-build": "npm run build"
79
},
80
"devDependencies": {
81
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
0 commit comments