-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 3.69 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "@quatico/webcomponents-101-part3",
"private": true,
"license": "SEE LICENSE IN LICENSE",
"version": "0.0.1",
"main": "dist/webcomponents-101-part3.es.js",
"exports": {
".": "./dist/webcomponents-101-part3.es.js"
},
"types": "types/webcomponents-101-part3.d.ts",
"files": [
"LICENSE",
"dist"
],
"scripts": {
"clean": "rimraf out coverage target",
"lint": "eslint \"src/main/typescript/**/*.{js,ts}\" --fix",
"lint:exercise1": "eslint \"src/main/typescript/exercise1/*.{js,ts}\"",
"lint:exercise2": "eslint \"src/main/typescript/exercise2/*.{js,ts}\"",
"lint:exercise3": "eslint \"src/main/typescript/exercise3/*.{js,ts}\"",
"lint:solution1": "eslint \"src/main/typescript/solution1/*.{js,ts}\"",
"lint:solution2": "eslint \"src/main/typescript/solution2/*.{js,ts}\"",
"lint:solution3": "eslint \"src/main/typescript/solution3/*.{js,ts}\"",
"build": "tsc",
"build:java": "mvn clean install",
"run:exercise1": "ts-node --project tsconfig.node.json src/main/typescript/exercise1/index.js",
"run:exercise2": "ts-node --project tsconfig.node.json src/main/typescript/exercise2/index.ts",
"run:exercise3": "ts-node --project tsconfig.node.json src/main/typescript/exercise3/index.ts",
"run:solution1": "ts-node --project tsconfig.node.json src/main/typescript/solution1/index.ts",
"run:solution2": "ts-node --project tsconfig.node.json src/main/typescript/solution2/index.ts",
"run:solution3": "ts-node --project tsconfig.node.json src/main/typescript/solution3/index.ts",
"test": "jest --coverage",
"test:java": "mvn test -DskipFrontend",
"test:exercise1": "jest --coverage --runInBand --testPathPattern=exercise1 --collectCoverageFrom=src/main/typescript/exercise1/**/*.{js,ts}",
"test:exercise2": "jest --coverage --runInBand --testPathPattern=exercise2 --collectCoverageFrom=src/main/typescript/exercise2/**/*.{js,ts}",
"test:exercise3": "jest --coverage --runInBand --testPathPattern=exercise3 --collectCoverageFrom=src/main/typescript/exercise3/**/*.{js,ts}",
"test:solution1": "jest --coverage --runInBand --testPathPattern=solution1 --collectCoverageFrom=src/main/typescript/solution1/**/*.{js,ts}",
"test:solution2": "jest --coverage --runInBand --testPathPattern=solution2 --collectCoverageFrom=src/main/typescript/solution2/**/*.{js,ts}",
"test:solution3": "jest --coverage --runInBand --testPathPattern=solution3 --collectCoverageFrom=src/main/typescript/solution3/**/*.{js,ts}",
"test:watch": "jest --watch",
"dist:scripts": "yarn clean && yarn lint && yarn test && yarn build",
"dist": "mvn clean install"
},
"dependencies": {
"lit": "^2.0.2"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/node": "16",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"concurrently": "7.1.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.4",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-testing-library": "^5.3.1",
"husky": "7.0.4",
"jest": "^27.3.1",
"lint-staged": "12.3.8",
"prettier": "2.6.2",
"rimraf": "3.0.2",
"ts-jest": "^27.1.4",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
},
"lint-staged": {
"*.(js|ts|tsx|jsx)": [
"yarn run lint",
"git add"
]
},
"engines": {
"node": ">=16",
"yarn": ">=1.22 < 2"
}
}