forked from SpyglassMC/Spyglass
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.79 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "@spyglassmc/root",
"private": true,
"version": "1.0.0",
"license": "MIT",
"scripts": {
"build": "wireit",
"build:dev": "wireit",
"watch": "npm run build:dev --watch",
"clean": "tsc -b packages --clean",
"clean:full": "rm -rf packages/*/lib packages/*/out packages/*/dist packages/*/test-out packages/*/*.tsbuildinfo .wireit packages/*/.wireit",
"commit": "gitmoji -c",
"docs:install": "cd docs && (bundle || true) && cd ..",
"docs:start": "cd docs && (bundle exec jekyll serve --incremental || true) && cd ..",
"fmt": "dprint fmt",
"fmt:check": "dprint check",
"lint": "eslint --cache --max-warnings=0 packages/*/{src,test}/**/*.{cts,mts,ts}",
"lint:fix": "eslint --cache --max-warnings=0 --fix packages/*/{src,test}/**/*.{cts,mts,ts}",
"release": "ts-node scripts/release.ts",
"release:dry": "ts-node scripts/release.ts --dry-run",
"set-tsconfig-references": "ts-node scripts/set_tsconfig_references",
"start-discord-bot": "node packages/discord-bot/lib/index.js",
"test": "nyc mocha",
"test:local": "nyc mocha --config .mocharc.local.jsonc"
},
"wireit": {
"build": {
"dependencies": [
"./packages/playground:build",
"./packages/vscode-extension:build"
]
},
"build:dev": {
"dependencies": [
"./packages/playground:build:dev",
"./packages/vscode-extension:build:dev"
]
},
"build:packages": {
"$comment": "This script is used as a dependency by ./packages/playground:build and ./packages/vscode-extension:build",
"command": "tsc -b packages",
"dependencies": [
"./packages/locales:build"
],
"files": [
"packages/*/src/**/*.*",
"packages/*/test/**/*.*"
]
}
},
"devDependencies": {
"@types/benchmark": "^2.1.2",
"@types/mocha": "^10.0.1",
"@types/node": "^18.16.3",
"@types/snap-shot-core": "^10.2.0",
"@types/webpack": "^5.28.1",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"all-contributors-cli": "^6.25.0",
"benchmark": "^2.1.4",
"circular-dependency-plugin": "^5.2.2",
"dprint": "^0.37.1",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"gitmoji-cli": "^8.1.1",
"mocha": "^10.2.0",
"node-loader": "^2.0.0",
"nyc": "^15.1.0",
"snap-shot-core": "^10.2.4",
"snap-shot-it": "^7.9.10",
"source-map-loader": "^4.0.1",
"source-map-support": "^0.5.21",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"typescript": "^5.0.4",
"webpack": "^5.81.0",
"webpack-cli": "^5.0.2",
"wireit": "^0.9.5"
},
"config": {
"snap-shot-it": {
"useRelativePath": true,
"sortSnapshots": true
}
},
"workspaces": [
"packages/**"
],
"repository": {
"type": "git",
"url": "https://github.com/SpyglassMC/Spyglass.git"
},
"homepage": "https://spyglassmc.com",
"bugs": {
"url": "https://github.com/SpyglassMC/Spyglass/issues"
}
}