forked from pixijs/pixijs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
103 lines (103 loc) · 3.67 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
98
99
100
101
102
103
{
"name": "pixi.js-monorepo",
"private": true,
"workspaces": [
"bundles/*",
"packages/*",
"packages/canvas/*",
"packages/filters/*",
"tools/*"
],
"scripts": {
"start": "run-s watch",
"clean:build": "rimraf \"{bundles,packages,packages/canvas,packages/filters,out}/*/dist\"",
"clean:dist": "rimraf dist/*",
"clean:modules": "lerna clean --yes",
"clean": "run-s clean:*",
"floss": "cross-env TS_NODE_PROJECT=tsconfig.tests.json floss -r ts-node/register/transpile-only -p test",
"test": "run-s lint:tests floss",
"unit-test": "npm run floss -- --",
"unit-test:debug": "npm run floss -- --debug --",
"precoverage": "run-s lint:tests",
"coverage": "nyc run-s floss && nyc report --reporter=html",
"coverage:ci": "run-s coverage && nyc report --reporter=text-lcov > coverage.lcov",
"docs": "mkdirp dist && webdoc -R README.md",
"lint:src": "eslint --ext .js --ext .ts test bundles packages scripts --ignore-path .gitignore --ignore-pattern \"**/*.tests.ts\" --max-warnings 0",
"lint:tests": "eslint -c .eslintrc.tests.json --ext .ts \"**/*.tests.ts\" --max-warnings 0",
"lint": "run-s lint:*",
"lintfix": "run-s \"lint:* -- --fix\"",
"types": "tsc -noEmit",
"build": "run-s clean:build build:dev",
"build:prod": "cross-env NODE_ENV=production rollup -c",
"build:dev": "rollup -c",
"build:types": "rimraf out && tsc && api-extractor-lerna-monorepo && rimraf out && ts-node-script ./scripts/injectGlobalMixins.ts",
"watch": "rollup -cw",
"dist": "run-s lint:src types build:prod docs",
"postdist": "copyfiles -f bundles/*/dist/browser/* dist && copyfiles -f \"packages/**/dist/browser/*\" dist/packages",
"prerelease": "run-s clean:build test",
"postversion": "run-s lint:src types build:prod build:types",
"release": "lerna version --exact --force-publish --no-push --no-git-tag-version",
"postrelease": "ts-node scripts/fixPeerVersions.ts && ./scripts/tag-release.sh",
"prepublish-ci": "run-s build:types",
"publish-ci": "lerna publish from-package --yes --no-verify-access",
"webdoc": "webdoc"
},
"pre-commit": [
"lintfix"
],
"engines": {
"node": ">=12",
"yarn": "please-use-npm",
"npm": ">=7"
},
"nyc": {
"all": true,
"extends": "@istanbuljs/nyc-config-typescript",
"include": [
"packages/**/src/**"
],
"exclude": [
"packages/polyfill/src**"
],
"report-dir": "dist/coverage"
},
"devDependencies": {
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@microsoft/api-extractor": "^7.9.11",
"@pixi-build-tools/api-extractor-lerna-monorepo": "^1.0.3",
"@pixi/eslint-config": "^2.0.1",
"@pixi/webdoc-template": "^1.5.3",
"@rollup/plugin-alias": "^3.1.1",
"@rollup/plugin-buble": "^0.21.3",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^6.0.0",
"@types/mocha": "^8.2.3",
"@webdoc/cli": "^1.5.5",
"chai": "~3.5.0",
"copyfiles": "^2.1.0",
"cross-env": "^5.2.0",
"electron": "^12.0.0",
"eslint": "^7.2.0",
"floss": "^5.0.0",
"glob": "^7.1.3",
"lerna": "^3.13.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.3",
"rollup": "^1.32.1",
"rollup-plugin-jscc": "^2.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^4.0.4",
"rollup-plugin-typescript": "^1.0.1",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"ts-node": "^9.0.0",
"tsconfig-paths": "^3.10.1",
"typescript": "^3.9.5",
"workspaces-run": "^1.0.1"
}
}