-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
78 lines (78 loc) · 2.71 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": "top-foundations-calculator",
"version": "1.0.0",
"engines": {
"node": "20.17.0"
},
"type": "module",
"scripts": {
"build": "webpack --mode production --config webpack.config.mjs",
"test": "pnpm run test:unit",
"test:unit": "vitest run --silent=false",
"test:unit:debug": "NODE_DEBUG=module pnpm run test:unit",
"test:unit:coverage": "pnpm run test:unit --coverage",
"test:unit:watch": "vitest",
"serve": "pnpm run build && http-server",
"pretest:e2e": "pnpm run build",
"test:e2e": "start-server-and-test serve http://localhost:8080 'PW_TEST_HTML_REPORT_OPEN=never playwright test'",
"test:e2e:watch": "start-server-and-test serve http://localhost:8080 'nodemon --watch src --watch e2e --watch calculator.html --ext js,ts,html --exec \"clear; PW_TEST_HTML_REPORT_OPEN=never playwright test\"'",
"lint": "eslint \"src/**/*.ts\" \"e2e/**/*.ts\"",
"lint:fix": "eslint \"src/**/*.ts\" \"e2e/**/*.ts\" --fix",
"security-check": "pnpm audit --audit-level=moderate",
"format": "prettier --write .",
"type-check": "tsc --noEmit",
"check-deps": "depcheck",
"update-deps": "pnpm update --latest",
"ci": "pnpm run lint && pnpm run type-check && pnpm run test && pnpm run security-check",
"prepare": "husky"
},
"devDependencies": {
"@awmottaz/prettier-plugin-void-html": "^1.6.1",
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@eslint/js": "^9.9.1",
"@playwright/test": "^1.46.1",
"@types/big.js": "^6.2.2",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.5.1",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vitest/coverage-v8": "^2.0.5",
"depcheck": "^1.4.7",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsdoc": "^50.2.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-sort-class-members": "^1.20.0",
"http-server": "^14.1.1",
"husky": "^9.1.5",
"lint-staged": "^15.2.9",
"nodemon": "^3.1.4",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.0.0",
"source-map": "^0.7.4",
"start-server-and-test": "^2.0.5",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "~5.5.4",
"typescript-eslint": "^8.3.0",
"vite-plugin-doctest": "^1.0.0",
"vitest": "^2.0.5",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix --max-warnings 0",
"prettier --write"
],
"*.{json,md}": [
"prettier --write"
]
},
"dependencies": {
"big.js": "^6.2.1"
}
}