forked from pixijs/pixijs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
90 lines (90 loc) · 3.13 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
{
"name": "pixi.js-monorepo",
"private": true,
"version": "7.2.2",
"workspaces": [
"bundles/*",
"packages/*",
"tools/*"
],
"scripts": {
"start": "run-s watch",
"clean:build": "rimraf \"{bundles,packages,out}/*/{dist,lib}\"",
"clean:types": "rimraf \"{bundles,packages}/*/lib/**/*.d.ts\"",
"clean:out": "rimraf out",
"clean:dist": "rimraf dist/*",
"clean": "run-s clean:*",
"test:pkg": "ts-node --transpile-only ./test/index.ts",
"test:pkg:debug": "cross-env DEBUG_MODE=1 ts-node --transpile-only ./test/index.ts",
"test": "npx jest --silent",
"test:debug": "cross-env DEBUG_MODE=1 npx jest",
"coverage": "npm run test -- --coverage --maxWorkers=4",
"docs": "mkdirp dist && webdoc -R README.md",
"lint": "eslint --cache --ext .js --ext .ts test bundles packages scripts --ignore-path .gitignore --max-warnings 0",
"lintfix": "run-s \"lint -- --fix\"",
"types": "tsc --noEmit",
"types:strict": "npm run types -- --strictNullChecks | ts-node ./scripts/filterTypeScriptErrors.ts",
"prebuild": "run-s clean:build",
"build": "rollup -c --failAfterWarnings",
"prebuild:types": "run-s clean:types clean:out",
"build:types": "tsc -p tsconfig.types.json && ts-node scripts/fixTypes.ts",
"postbuild:types": "copyfiles -u 1 \"out/**/*\" . && run-s clean:out",
"watch": "rollup -cw",
"dist": "run-s lint types types:strict build build:types docs",
"postdist": "copyfiles -f bundles/*/dist/* dist && copyfiles -f packages/*/dist/* dist/packages",
"prerelease": "run-s clean:build test dist",
"release": "ts-node ./scripts/release.ts",
"prepublish-ci": "ts-node ./scripts/prepublish.ts",
"publish-ci": "workspaces-run --only-fs=\"{packages,bundles}/*\" -- npm publish",
"webdoc": "webdoc"
},
"pre-commit": [
"lintfix"
],
"engines": {
"node": ">=18",
"yarn": "please-use-npm",
"npm": ">=8"
},
"devDependencies": {
"@pixi/eslint-config": "^4.0.1",
"@pixi/webdoc-template": "^1.5.5",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@types/inquirer": "^8.0.0",
"@types/jest": "^26.0.0",
"@webdoc/cli": "^2.2.0",
"copyfiles": "^2.1.0",
"cross-env": "^5.2.0",
"electron": "^12.0.0",
"esbuild": "^0.14.48",
"eslint": "^8.25.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.2.9",
"eslint-plugin-simple-import-sort": "^8.0.0",
"glob": "^7.1.3",
"http-server": "^14.1.1",
"inquirer": "^8.0.0",
"jest": "^26.0.0",
"jest-electron": "^0.1.12",
"jest-extended": "^1.2.1",
"jest-raw-loader": "^1.0.1",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.3",
"rollup": "^2.78.0",
"rollup-plugin-esbuild": "^4.9.1",
"rollup-plugin-jscc": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-string": "^3.0.0",
"semver": "^7.3.8",
"tree-kill": "^1.2.2",
"ts-jest": "^26.0.0",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "~4.3.0",
"workspaces-run": "^1.0.2",
"yargs-parser": "^21.0.1"
}
}