-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
74 lines (74 loc) · 2.51 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": "nerthusaddon",
"version": "6.0.0",
"description": "Addon for the Nerthus server in game [Margonem](https://www.margonem.pl/)",
"main": "/src/main.js",
"directories": {
"test": "test"
},
"browserslist": [
"defaults",
"firefox 115"
],
"dependencies": {
"jquery": "3.6.0",
"omggif": "^1.0.10"
},
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/plugin-transform-modules-commonjs": "^7.25.7",
"@babel/plugin-transform-runtime": "^7.25.7",
"@babel/preset-env": "^7.25.8",
"@eslint/js": "^9.12.0",
"@vitest/coverage-v8": "^2.1.3",
"babel-loader": "^9.2.1",
"coveralls": "^3.1.1",
"dotenv": "^16.4.5",
"eslint": "^9.12.0",
"expect.js": "^0.3.1",
"exports-loader": "^5.0.0",
"expose-loader": "^5.0.0",
"globals": "^15.11.0",
"http-server": "^14.1.1",
"imports-loader": "^5.0.0",
"js-yaml": "^4.1.0",
"jsdom": "^25.0.1",
"mocha": "^10.7.3",
"mochapack": "^2.1.4",
"nyc": "^17.1.0",
"sinon": "^19.0.2",
"vitest": "^2.1.3",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"scripts": {
"test": "npm run build-test && mocha ./test-dist/main.js && npm run clean-after-test",
"test-leaks": "npm run build-test && mocha --check-leaks ./test-dist/main.js && npm run clean-after-test",
"test-coverage": "npm run build-test && nyc --reporter=text mocha ./test-dist/main.js && npm run clean-after-test",
"test-code-quality": "eslint src/*",
"coverage-raport-text": "nyc report --reporter=text",
"coverage-raport-text-lcov": "nyc report --reporter=text-lcov",
"push-coverage-raport": "nyc report --reporter=text-lcov | coveralls",
"clean-coverage": "rm -rf ./coverage ./.nyc_output",
"build": "npx webpack",
"build-watch": "npx webpack --watch",
"build-test": "webpack --config ./test/webpack-test.config.js --entry ./test/main.js --output-path ./test-dist",
"clean-after-test": "rm -rf ./test-dist",
"update-version": "git rev-parse --short HEAD > version",
"dev-serve": "http-server ./ -c-1 --cors",
"dev-setup": "node scripts/setup.mjs",
"dev-start": "npm run dev-serve & npm run build-watch"
},
"overrides": {
"tough-cookie": "^4.1.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nerthus-margonem/nerthusaddon.git"
},
"bugs": {
"url": "https://github.com/nerthus-margonem/nerthusaddon/issues"
},
"homepage": "https://github.com/nerthus-margonem/nerthusaddon#readme"
}