forked from dandv/typescript-modern-project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
44 lines (44 loc) · 1.54 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "nodejs-typescript-project-template",
"version": "0.0.0",
"description": "Modern TypeScript project template",
"keywords": [],
"license": "MIT",
"author": "",
"type": "module",
"main": "dist/main.js",
"scripts": {
"node": "node --experimental-specifier-resolution=node --no-warnings",
"start": "npm run node -- --loader ./yaml-loader.mjs -r source-map-support/register dist/main.js",
"js": "npm run build && npm start",
"ts": "npm run node -- --loader ts-node/esm --loader ./yaml-loader.mjs src/main.ts",
"build": "npm run clean && npx tsc",
"clean": "node -e \"fs.rm('dist', {recursive:true}, ()=>{}); fs.rm('coverage', {recursive:true}, ()=>{})\"",
"test": "npx mocha",
"coverage": "npx c8 npm t",
"lint": "npx eslint src/**/*.ts tests/**/*.ts",
"lint-fix": "npm run lint -- --fix"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"c8": "^7.11.0",
"coveralls": "^3.1.1",
"eslint": "^8.12.0",
"eslint-plugin-deprecation": "^1.3.2",
"eslint-plugin-unicorn": "^46.0.0",
"mocha": "^10.2.0",
"source-map-support": "^0.5.21",
"ts-node": "^10.7.0",
"typescript": "^5.0.4",
"typings-esm-loader": "^2.0.1"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"yaml": "^2.0.0"
}
}