-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 2.35 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "ooadp-showdown-game",
"version": "1.0.0",
"description": "A project demonstrating iterative development and continuous refactoring process of OOADP, unit tests, and refactoring through a simple showdown card game",
"main": "dist/index.js",
"scripts": {
"build": "npm run clean:build && npm run lint:src && tsc && tsc-alias",
"build:emitOnError": "npm run clean:build && npm run lint:src && tsc --noEmitOnError false && tsc-alias",
"build:image": "ts-node scripts/docker/buildDockerImage.ts",
"build:noEmit": "npm run clean:build && npm run lint:src && tsc --noEmit && tsc-alias",
"clean": "npm run clean:build && npm run clean:coverage && npm run clean:image && npm run clean:node_modules",
"clean:build": "shx rm -rf dist",
"clean:image": "ts-node scripts/docker/removeDockerImage.ts",
"clean:coverage": "shx rm -rf coverage",
"clean:node_modules": "shx rm -rf node_modules",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint:src": "eslint src/ --fix",
"start:dev": "ts-node -r tsconfig-paths/register --files src",
"start:container": "npm run build:image && ts-node scripts/docker/startDockerContainer.ts && npm run clean:image",
"test": "mocha -r ts-node/register -r tsconfig-paths/register --recursive 'tests/**/*.spec.ts'",
"test:file": "mocha -r ts-node/register -r tsconfig-paths/register --recursive --exit",
"test:coverage": "c8 --reporter=lcov --reporter=text --reporter=json-summary -- npm test"
},
"keywords": [
"OOADP",
"Unit Test",
"Refactoring",
"Iterative Development",
"Continuous Refactoring",
"Software Design",
"Software Development"
],
"directories": {
"test": "tests"
},
"author": "wshih",
"license": "MIT",
"dependencies": {
"tslib": "2.7.0"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.6",
"@types/node": "^22.12.0",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"c8": "^10.1.2",
"chai": "^4.5.0",
"eslint": "^9.17.0",
"globals": "^15.14.0",
"mocha": "^10.4.0",
"shx": "^0.3.4",
"sinon": "^19.0.2",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.10",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.6.2",
"typescript-eslint": "^8.19.0"
}
}