Moved package.json up to root folder
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,7 +1,8 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
development.json
|
development.json
|
||||||
env
|
.env
|
||||||
shows.db
|
shows.db
|
||||||
|
|
||||||
|
node_modules
|
||||||
*/package-lock.json
|
*/package-lock.json
|
||||||
|
|||||||
@@ -5,16 +5,16 @@
|
|||||||
"type": "MIT",
|
"type": "MIT",
|
||||||
"url": "https://www.opensource.org/licenses/mit-license.php"
|
"url": "https://www.opensource.org/licenses/mit-license.php"
|
||||||
},
|
},
|
||||||
"main": "webserver/server.js",
|
"main": "seasoned_api/webserver/server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "cross-env SEASONED_CONFIG=conf/development.json NODE_ENV=production NODE_PATH=. babel-node src/webserver/server.js",
|
"start": "yarn --cwd seasoned_api cross-env SEASONED_CONFIG=conf/development.json NODE_ENV=production babel-node seasoned_api/src/webserver/server.js",
|
||||||
"test": "cross-env SEASONED_CONFIG=conf/test.json NODE_PATH=. mocha --require @babel/register --recursive test/unit test/system",
|
"test": "cross-env SEASONED_CONFIG=seasoned_api/conf/test.json NODE_PATH=. mocha --require @babel/register --recursive seasoned_api/test/unit seasoned_api/test/system",
|
||||||
"coverage": "cross-env SEASONED_CONFIG=conf/test.json NODE_PATH=. nyc mocha --require @babel/register --recursive test && nyc report --reporter=text-lcov | coveralls",
|
"coverage": "cross-env SEASONED_CONFIG=seasoned_api/conf/test.json NODE_PATH=. nyc mocha --require @babel/register --recursive test && nyc report --reporter=text-lcov | coveralls",
|
||||||
"lint": "./node_modules/.bin/eslint src/",
|
"lint": "eslint src/",
|
||||||
"update": "cross-env SEASONED_CONFIG=conf/development.json NODE_PATH=. node scripts/updateRequestsInPlex.js",
|
"update": "cross-env SEASONED_CONFIG=seasoned_api/conf/development.json NODE_PATH=. node seasoned_api/scripts/updateRequestsInPlex.js",
|
||||||
"docs": "yarn apiDocs; yarn classDocs",
|
"docs": "yarn apiDocs; yarn classDocs",
|
||||||
"apiDocs": "",
|
"apiDocs": "",
|
||||||
"classDocs": "./script/generate-class-docs.sh"
|
"classDocs": "./seasoned_api/script/generate-class-docs.sh"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "^0.18.0",
|
"axios": "^0.18.0",
|
||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user