-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 2.34 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
{
"name": "website",
"version": "0.0.0",
"description": "Simple Website Template",
"private": true,
"engines": {
"node": ">=20.0",
"npm": ">=10.0"
},
"scripts": {
"build": "npm run clean && npm run style-check && npm run spell-check && npm run lint && npm run compile",
"clean": "node ./scripts/clean.js dist",
"compile": "webpack --config ./config/webpack.config.js --mode production",
"server": "npm run start",
"start": "webpack serve --config ./config/webpack.config.js --mode development",
"style": "prettier --config ./config/prettier.json --write \"@(src|tests|scripts)/**/*.@(ts|js|md|html|css|json)\"",
"style-check": "prettier --config ./config/prettier.json --check \"@(src|tests|scripts)/**/*.@(ts|js|md|html|css|json)\"",
"spell-check": "cspell --config ./.vscode/cspell.json --gitignore \"@(src|tests|scripts)/**/*.@(ts|js|md|html|css|json)\"",
"lint": "eslint --config ./config/eslint.json --no-eslintrc \"@(src|tests|scripts)/**/*.@(ts|js)\"",
"lint-fix": "eslint --config ./config/eslint.json --no-eslintrc --fix \"@(src|tests|scripts)/**/*.@(ts|js)\"",
"test": "npm run compile && npm run playwright-test",
"playwright-install": "playwright install --with-deps chromium",
"playwright-test": "playwright test --config ./config/playwright.config.ts",
"playwright-report": "playwright show-report"
},
"repository": {
"type": "git",
"url": "git+https://github.com/wandyezj/website.git"
},
"author": "wandyezj",
"license": "Unlicense",
"bugs": {
"url": "https://github.com/wandyezj/website/issues"
},
"homepage": "https://github.com/wandyezj/website#readme",
"dependencies": {},
"devDependencies": {
"@playwright/test": "^1.44.1",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^8.56.0",
"cspell": "8.4.1",
"prettier": "^3.3.2",
"clean-webpack-plugin": "^4.0.0",
"copy-webpack-plugin": "^12.0.2",
"html-webpack-plugin": "^5.6.0",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.92.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4"
}
}