You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
892 B
30 lines
892 B
{
|
|
"name": "typescript-nodejs-template",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"start": "npm run serve",
|
|
"build": "npm run npm run build-ts && npm run lint",
|
|
"serve": "node dist/index.js",
|
|
"watch-node": "nodemon dist/index.js",
|
|
"watch": "concurrently -k -p \"[{name}]\" -n \"TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-ts\" \"npm run watch-node\"",
|
|
"build-ts": "tsc",
|
|
"watch-ts": "tsc -w",
|
|
"lint": "tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"typescript": "^3.7.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.7.5",
|
|
"@babel/core": "^7.7.5",
|
|
"@babel/preset-env": "^7.7.6",
|
|
"@types/concurrently": "^4.1.0",
|
|
"@types/node-fetch": "^2.5.4",
|
|
"concurrently": "^5.0.0"
|
|
}
|
|
}
|
|
|