-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 3.03 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
{
"name": "@quatico/webcomponents-101-part2",
"private": true,
"version": "0.0.1",
"files": [
"dist"
],
"scripts": {
"clean": "rimraf dist lib coverage",
"lint": "concurrently \"yarn lint:scripts\" \"yarn lint:styles\"",
"lint:scripts": "eslint \"{src,test}/**/*.{js,ts,tsx}\" --fix",
"lint:styles": "stylelint \"src/**/*.{css,scss}\"",
"build": "yarn build:example-step-1 && yarn build:exercise1 && yarn build:exercise2 && yarn build:solution1 && yarn build:solution2",
"build:example-step-1": "vite build --config src/example/step-1/vite.config.ts",
"build:exercise1": "vite build --config src/exercise1/vite.config.ts",
"build:exercise2": "vite build --config src/exercise2/vite.config.ts",
"build:solution1": "vite build --config src/solution1/vite.config.ts",
"build:solution2": "vite build --config src/solution2/vite.config.ts",
"run:example-step-1": "vite --config src/example/step-1/vite.config.ts",
"run:exercise1": "vite --config src/exercise1/vite.config.ts",
"run:exercise2": "vite --config src/exercise2/vite.config.ts",
"run:solution1": "vite --config src/solution1/vite.config.ts",
"run:solution2": "vite --config src/solution2/vite.config.ts",
"test": "jest --coverage",
"test:example-step-1": "jest --runInBand --testPathPattern=example-step-1",
"test:exercise1": "jest --runInBand --testPathPattern=exercise1",
"test:exercise2": "jest --runInBand --testPathPattern=exercise2",
"test:solution1": "jest --runInBand --testPathPattern=solution1",
"test:solution2": "jest --runInBand --testPathPattern=solution2",
"test:watch": "jest --watch",
"dist": "yarn clean && yarn lint && yarn test && yarn build"
},
"dependencies": {
"lit": "^2.0.2"
},
"devDependencies": {
"@quatico/dom-serializer": "^0.3.1",
"@types/jest": "^27.4.1",
"@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",
"postcss": "^8.4.12",
"prettier": "2.6.2",
"rimraf": "3.0.2",
"sass": "^1.50.0",
"stylelint": "^14.7.0",
"stylelint-config-recommended": "^7.0.0",
"stylelint-config-recommended-scss": "6.0.0",
"stylelint-scss": "4.2.0",
"stylelint-selector-bem-pattern": "^2.1.0",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3",
"vite": "^2.9.5"
},
"lint-staged": {
"*.(js|ts|tsx|jsx)": [
"yarn run lint",
"git add"
]
},
"engines": {
"node": ">=16",
"yarn": ">=1.22 < 2"
}
}