forked from pixijs/pixijs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 3.08 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
{
"name": "pixi.js-monorepo",
"private": true,
"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:modules": "lerna clean --yes",
"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 --ext .js --ext .ts test bundles packages scripts --ignore-path .gitignore --max-warnings 0",
"lintfix": "run-s \"lint -- --fix\"",
"types": "tsc -noEmit",
"prebuild": "run-s clean:build",
"build": "rollup -c",
"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 build build:types docs",
"dist-validate": "workspaces-run --only=\"@pixi/node\" -- npm test",
"postdist": "copyfiles -f bundles/*/dist/* dist && copyfiles -f packages/*/dist/* dist/packages",
"prerelease": "run-s clean:build test",
"postversion": "run-s lint types build build:types",
"release": "lerna version --exact --force-publish",
"version": "ts-node scripts/fixPeerVersions.ts && npx --yes [email protected] i --package-lock-only && git add package-lock.json",
"publish-ci": "lerna publish from-package --yes --no-verify-access",
"webdoc": "webdoc"
},
"pre-commit": [
"lintfix"
],
"engines": {
"node": ">=14",
"yarn": "please-use-npm",
"npm": ">=7"
},
"devDependencies": {
"@pixi/eslint-config": "^4.0.1",
"@pixi/webdoc-template": "^1.5.4",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/jest": "^26.0.0",
"@webdoc/cli": "^2.0.0",
"copyfiles": "^2.1.0",
"cross-env": "^5.2.0",
"electron": "^12.0.0",
"esbuild": "^0.14.48",
"eslint": "^8.25.0",
"eslint-plugin-jsdoc": "^39.2.9",
"glob": "^7.1.3",
"http-server": "^14.1.1",
"jest": "^26.0.0",
"jest-electron": "^0.1.12",
"jest-extended": "^1.2.1",
"jest-raw-loader": "^1.0.1",
"lerna": "^4.0.0",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.3",
"rollup": "^2.75.7",
"rollup-plugin-esbuild": "^4.9.1",
"rollup-plugin-jscc": "^2.0.0",
"rollup-plugin-rename-node-modules": "^1.3.1",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-string": "^3.0.0",
"ts-jest": "^26.0.0",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "~4.3.0",
"workspaces-run": "^1.0.1",
"yargs-parser": "^21.0.1"
}
}