-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
38 lines (38 loc) · 1.46 KB
/
package.json
File metadata and controls
38 lines (38 loc) · 1.46 KB
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
{
"name": "typescript-basic",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node ./build/index.js",
"start:dev": "nodemon",
"build": "rimraf ./build && tsc",
"start:ts": "ts-node ./src/index.ts",
"start:section:1": "ts-node ./src/sections/01-primitives-and-unions.ts",
"start:section:2": "ts-node ./src/sections/02-functions-and-aliases.ts",
"start:section:3": "ts-node ./src/sections/03-classes-and-inheritance.ts",
"start:section:4": "ts-node ./src/sections/04-interfaces.ts",
"start:section:5": "ts-node ./src/sections/05-enums.ts",
"start:section:6": "ts-node ./src/sections/06-generics.ts",
"build:sections": "tsc --noEmit ./src/sections/*.ts",
"build:section:1": "tsc --noEmit ./src/sections/01-primitives-and-unions.ts",
"build:section:2": "tsc --noEmit ./src/sections/02-functions-and-aliases.ts",
"build:section:3": "tsc --noEmit ./src/sections/03-classes-and-inheritance.ts",
"build:section:4": "tsc --noEmit ./src/sections/04-interfaces.ts",
"build:section:5": "tsc --noEmit ./src/sections/05-enums.ts",
"build:section:6": "tsc --noEmit ./src/sections/06-generics.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"typescript": "^5.3.3"
},
"devDependencies": {
"@types/node": "^20.10.8",
"nodemon": "^3.0.2",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2"
}
}