forked from pixijs/pixijs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 3.02 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
{
"name": "pixi.js-monorepo",
"private": true,
"scripts": {
"start": "npm run watch",
"postinstall": "npm run bootstrap",
"bootstrap": "lerna bootstrap --hoist --no-ci",
"clean:build": "rimraf \"{bundles,packages,packages/canvas,packages/filters}/*/{lib,dist}\"",
"preclean": "npm run clean:build",
"clean": "lerna clean",
"pretest": "npm run lint && npm run build",
"test": "floss --path test",
"unit-test": "floss --path test",
"coverage": "npm run pretest && nyc floss --path=test && nyc report --reporter=html",
"coverage:ci": "npm run pretest && nyc floss --path=test && nyc report --reporter=text-lcov > coverage.lcov",
"predocs": "npm run compile:docs && eslint --ext .js dist/compiled --fix",
"docs": "mkdirp dist && jsdoc -c jsdoc.conf.json -R README.md",
"postdocs": "rimraf dist/compiled",
"pretypes": "npm run compile:docs",
"types": "npm run types:legacy && npm run types:default",
"types:default": "mkdirp dist/types && jsdoc -c types/jsdoc.conf.json && node types/assemble pixi.js",
"types:legacy": "mkdirp dist/types && jsdoc -c types/jsdoc-legacy.conf.json && node types/assemble pixi.js-legacy",
"posttypes": "rimraf dist/compiled",
"lint": "eslint --ext .js --ext .ts test bundles packages tools --ignore-path .gitignore --max-warnings 0",
"lintfix": "npm run lint -- --fix",
"prebuild": "npm run clean:build",
"build": "npm run build:dev",
"build:prod": "cross-env NODE_ENV=production rollup -c",
"build:dev": "rollup -c",
"postbuild": "npm run types",
"watch": "rollup -cw",
"lerna": "lerna",
"predist": "rimraf dist/* && npm run build:prod && npm run types",
"dist": "npm run docs",
"postdist": "copyfiles -f bundles/*/dist/* dist && copyfiles -f \"packages/**/dist/*\" dist/packages",
"prerelease": "npm run clean:build && npm test",
"postversion": "npm run build:prod",
"release": "lerna publish",
"compile:docs": "tsc -p tsconfig.docs.json"
},
"pre-commit": [
"lintfix"
],
"devDependencies": {
"@lerna/batch-packages": "^3.13.0",
"@lerna/filter-packages": "^3.13.0",
"@lerna/project": "^3.13.1",
"@pixi/jsdoc-template": "^2.4.3",
"copyfiles": "^2.1.0",
"cross-env": "^5.2.0",
"electron": "^4.1.4",
"eslint": "^6.3.0",
"@typescript-eslint/eslint-plugin": "^2.1.0",
"@typescript-eslint/parser": "^2.1.0",
"floss": "^3.0.0",
"chai": "~3.5.0",
"sinon": "^7.3.2",
"sinon-chai": "^3.3.0",
"nyc": "^14.1.1",
"glob": "^7.1.3",
"jsdoc": "^3.5.5",
"lerna": "^3.13.3",
"minimist": "^1.2.0",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.3",
"rollup": "^1.10.1",
"rollup-plugin-buble": "^0.19.6",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-node-resolve": "^4.2.3",
"rollup-plugin-replace": "^2.2.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",
"tsd-jsdoc": "^2.1.3",
"typescript": "^3.6.2"
}
}