We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fedd54 commit e6620a8Copy full SHA for e6620a8
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
@@ -70,7 +70,9 @@
70
"format": "prettier --write 'src/**/*.js'",
71
"prettier-check": "prettier --list-different 'src/**/*.js'",
72
"test": "echo \"Error: no test specified\" && exit 1",
73
- "upgrade-interactive": "npm-check --update"
+ "upgrade-interactive": "npm-check --update",
74
+ "now-dev": "gatsby develop -p $PORT",
75
+ "now-build": "npm run build"
76
},
77
"devDependencies": {
78
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
0 commit comments