-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
114 lines (114 loc) · 5.09 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
104
105
106
107
108
109
110
111
112
113
114
{
"name": "pixi_ui",
"version": "1.0.0",
"description": "Port of pixi_ui to typescript and PIXI v6",
"main": "./dist/pixi_ui.js",
"scripts": {
"devServer": "webpack serve --color ",
"devServerPack": "npm run build:dev && webpack serve --color --open ",
"start": "npm run build:prod && webpack serve --color",
"example": "npm run devServerPack index.html",
"example1": "npm run devServerPack Examples/popup.html",
"example2": "npm run devServerPack Examples/popupmenu.html",
"example3": "npm run devServerPack Examples/app.html",
"example4": "npm run devServerPack Examples/message.html",
"example5": "npm run devServerPack Examples/modal.html",
"example6": "npm run devServerPack Examples/theme.html",
"example7": "npm run devServerPack Examples/progress.html",
"example8": "npm run devServerPack Examples/badge.html",
"example9": "npm run devServerPack Examples/button.html",
"example10": "npm run devServerPack Examples/buttongroup.html",
"postinstall": "echo npm run bootstrap",
"clean": "rimraf js/* dist/pixi_ui.*",
"cleanSyncJS": "rimraf rmdirSync js/*",
"cleanCache": "rimraf $HOME/Library/Caches/Google/Chrome $HOME/Library/Caches/com.microsoft.VSCode",
"xpretest": "echo npm run lint && npm run build",
"coverage": "echo npm run pretest && nyc floss --path=test && nyc report --reporter=html",
"coverage:ci": "echo npm run pretest && nyc floss --path=test && nyc report --reporter=text-lcov > coverage.lcov",
"docs": "mkdirp dist && jsdoc -c jsdoc.conf.json -R README.md",
"xtypes:default": "echo mkdirp dist/types && jsdoc -c types/jsdoc.conf.json && node types/assemble pixi.js",
"types": "npm run cleanSyncJS && tsc",
"startTypes": "tsc --watch",
"buildPixify": "pixify --name pixi_ui --license ./src/LICENSE --source ./js --dest ./dist --compress false --minify false",
"startBuildPixify": "pixify --name pixi_ui --license ./src/LICENSE --source ./js --dest ./dist --compress false --minify false --watch",
"lint": "eslint --ext .ts src/* ",
"lintfix": "npm run lint src/*.ts --fix",
"pretest": "echo 'pretest. not running: npm run build:dev'",
"test": "npm run clean && npm run build:dev && COMPARE_ORIGINAL=true mochapack --mode development --require test/pixi-setup.js test/src/*.ts test/src/*/*.ts",
"testNC": "npm run clean && npm run build:dev && mochapack --mode development --require test/pixi-setup.js test/src/*.ts test/src/*/*.ts",
"aTest": "COMPARE_ORIGINAL=true mochapack --mode development --require test/pixi-setup.js",
"aTestNC": "mochapack --mode development --require test/pixi-setup.js",
"startTest": "npm run build:dev && COMPARE_ORIGINAL=true mochapack --watch --mode development --require test/pixi-setup.js test/*.ts test/*/*.ts",
"prebuild": "echo 'Not running clean'",
"prebuild:dev": "echo 'Not running clean'",
"prebuild:prod": "npm run clean",
"build": "npm run build:dev",
"build:prod": "webpack --mode production",
"build:dev": "webpack --mode development",
"dev": "npm run build:dev",
"postbuild": "tsc",
"watch": "webpack --mode development --watch",
"startBuild": "npm run watch",
"predist": "npm run build:prod && npm run test",
"dist": "echo npm run docs",
"postdist": "echo copyfiles -f bundles/*/dist/* dist && copyfiles -f \"packages/**/dist/*\" dist/packages",
"prerelease": "echo npm run clean:build && npm test",
"postversion": "echo npm run build:prod",
"release": "echo npm publish . "
},
"xpre-commit": [
"lintfix"
],
"author": "John Talbot",
"license": "MIT",
"dependencies": {
"eventemitter3": "^4.0.0",
"pixi.js": "^6.5.6"
},
"devDependencies": {
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.18.9",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/preset-env": "^7.19.3",
"@babel/preset-typescript": "^7.18.6",
"@pixi/jsdoc-template": "^2.6.0",
"@types/jquery": "^3.5.14",
"@types/mocha": "^10.0.0",
"@types/underscore": "^1.11.4",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.5",
"canvas": "^2.10.1",
"chai": "~4.3.6",
"copyfiles": "^2.4.1",
"electron": "^15.5.7",
"eslint": "^8.25.0",
"eslint-config-prettier": "^6.10.0",
"eslint-webpack-plugin": "^3.2.0",
"floss": "git://github.com/ztalbot2000/floss#f2de91cc36f25809ee4cb6458da30a4facad91b6",
"fs": "0.0.1-security",
"glob": "^8.0.3",
"jsdoc": "^3.6.11",
"jsdom-canvas-2": "^11.6.3-alpha.0",
"minimist": "^1.2.6",
"mocha": "^7.2.0",
"mochapack": "^2.1.4",
"nyc": "^15.0.0",
"path": "^0.12.7",
"pixi.js-legacy": "^6.5.6",
"pixify": "^1.9.0",
"pre-commit": "^1.2.2",
"rimraf": "^3.0.2",
"sinon": "^14.0.1",
"sinon-chai": "^3.7.0",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.1",
"ts-node": "^10.9.1",
"tsd-jsdoc": "^2.5.0",
"typescript": "^4.8.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.11.1"
}
}