update `npm start` now points to Refresh site
This commit is contained in:
Родитель
e5e06c7bbf
Коммит
3eb00e1aa1
2
is-v2.js
2
is-v2.js
|
@ -1,3 +1,5 @@
|
|||
// TODO: Delete this file – obsolete after Refresh V1 launch and legacy site retired
|
||||
|
||||
'use strict'
|
||||
|
||||
const path = require('path')
|
||||
|
|
|
@ -78,8 +78,10 @@
|
|||
"url": "git+https://github.com/mozilla/blurts-server.git"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node is-v2.js && npm start -w src || npm run build && node server.js",
|
||||
"dev": "node is-v2.js && (cd src && nodemon app.js || exit 0) || nodemon server.js",
|
||||
"start": "npm start -w src",
|
||||
"start:legacy": "npm run build && node server.js",
|
||||
"dev": "cd src && nodemon app.js",
|
||||
"dev:legacy": "nodemon server.js",
|
||||
"build": "node esbuild.js",
|
||||
"db:migrate": "knex migrate:latest --knexfile db/knexfile.js",
|
||||
"db:rollback": "knex migrate:rollback --knexfile db/knexfile.js",
|
||||
|
|
Загрузка…
Ссылка в новой задаче