-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
75 lines (75 loc) · 2.31 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
{
"name": "2004scape-client",
"version": "1.0.0",
"description": "This project is a comprehensive source port of our [Client refactor](https://github.com/2004scape/Client) to TypeScript.",
"dependencies": {
"foundation-sites": "^6.8.1",
"jquery": "^3.7.1"
},
"devDependencies": {
"@types/foundation-sites": "^6.4.3",
"@types/jest": "^29.5.12",
"@types/jquery": "^3.5.29",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"assemblyscript": "^0.27.27",
"autoprefixer": "^10.4.19",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.11.0",
"eslint": "^8.57.0",
"html-webpack-plugin": "^5.6.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"mini-css-extract-plugin": "^2.9.0",
"postcss-loader": "^8.1.1",
"prettier": "^3.2.5",
"sass": "^1.75.0",
"sass-loader": "^14.2.1",
"style-loader": "^3.3.4",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"typescript": "^5.4.5",
"webpack": "^5.91.0",
"webpack-bundle-analyzer": "^4.10.2",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^4.15.2"
},
"scripts": {
"build": "npm run asc && webpack --mode=production --node-env=production",
"build:dev": "npm run asc && webpack --mode=development",
"build:prod": "npm run asc && webpack --mode=production --node-env=production",
"dev": "npm run asc && webpack-dev-server --hot",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier src/**/*.{js,ts} --write",
"prepare": "husky install",
"test": "npm run asc && jest",
"asc": "asc --target release --optimizeLevel 3 --converge",
"local": "npm run build:dev && npx serve public",
"prod": "npm run build && npx http-server -c-1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/2004scape/Client2.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/2004scape/Client2/issues"
},
"homepage": "https://github.com/2004scape/Client2#readme",
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,ts}": [
"npm run format",
"npm run lint:fix"
]
}
}