forked from pixijs-userland/html-text
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
120 lines (120 loc) · 3.57 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
115
116
117
118
119
120
{
"name": "@pixi/text-html",
"version": "3.2.1",
"description": "Multi-Style Text Rendering Plugin for PixiJS",
"main": "dist/html-text.cjs.js",
"module": "dist/html-text.es.mjs",
"bundle": "dist/html-text.js",
"types": "dist/html-text.d.ts",
"exports": {
".": {
"import": "./dist/html-text.es.mjs",
"require": "./dist/html-text.cjs.js",
"types": "./dist/html-text.d.ts"
}
},
"scripts": {
"serve": "http-server . -o demo -p 8080",
"watch": "rollup -c config/rollup.js -w",
"clean": "rimraf dist/* ",
"build": "cross-env NODE_ENV=production rollup -c config/rollup.js",
"postbuild": "run-s build:types",
"build:dev": "rollup -c config/rollup.js",
"prebuild:types": "rimraf .types_output/**",
"build:types": "tsc --declaration --emitDeclarationOnly --skipLibCheck --outDir .types_output",
"postbuild:types": "api-extractor run --local",
"demo": "run-p watch serve",
"lint": "eslint src test",
"lint:fix": "npm run lint -- --fix",
"types": "tsc -noEmit",
"test": "run-s lint types unit-test build",
"unit-test": "jest",
"publish:patch": "npm version patch && run-s publish:skip",
"publish:minor": "npm version minor && run-s publish:skip",
"publish:major": "npm version major && run-s publish:skip",
"publish:skip": "npm publish",
"postpublish": "run-s deploy && git push && git push --tags",
"prepublishOnly": "run-s lint clean build",
"prepack": "clean-package",
"postpack": "clean-package restore",
"docs": "webdoc -c config/webdoc.json -r README.md",
"predeploy": "run-s build docs",
"deploy": "gh-pages -f -d . -s \"{demo,docs,dist}/**\""
},
"homepage": "https://pixijs.io/html-text/docs/",
"bugs": "https://github.com/pixijs/html-text/issues",
"repository": {
"type": "git",
"url": "https://github.com/pixijs/html-text.git"
},
"publishConfig": {
"access": "public"
},
"pre-commit": [
"lint",
"types"
],
"clean-package": {
"indent": 2,
"remove": [
"clean-package",
"devDependencies",
"pre-commit",
"scripts",
"eslintConfig",
"jest"
]
},
"keywords": [],
"files": [
"dist"
],
"author": "Matt Karl <[email protected]>",
"license": "MIT",
"peerDependencies": {
"@pixi/core": "^7.0.0-X",
"@pixi/display": "^7.0.0-X",
"@pixi/sprite": "^7.0.0-X",
"@pixi/text": "^7.0.0-X"
},
"devDependencies": {
"@kayahr/jest-electron-runner": "^29.3.0",
"@microsoft/api-extractor": "^7.31.1",
"@pixi/core": "^7.0.0-X",
"@pixi/display": "^7.0.0-X",
"@pixi/eslint-config": "^4.0.1",
"@pixi/sprite": "^7.0.0-X",
"@pixi/text": "^7.0.0-X",
"@pixi/webdoc-template": "^1.5.3",
"@types/jest": "^29.2.4",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@webdoc/cli": "^2.1.2",
"clean-package": "^1.0.1",
"cross-env": "^7.0.2",
"eslint": "^7.0.0",
"gh-pages": "^3.2.3",
"http-server": "^0.12.1",
"jest": "^29.3.1",
"npm-run-all": "^4.1.5",
"pre-commit": "^1.2.2",
"rimraf": "^3.0.2",
"rollup": "^2.3.3",
"rollup-plugin-esbuild": "^4.10.1",
"tree-kill": "^1.2.2",
"ts-jest": "^29.0.3",
"typescript": "^4.0.0"
},
"eslintConfig": {
"extends": "@pixi/eslint-config"
},
"jest": {
"preset": "ts-jest",
"runner": "@kayahr/jest-electron-runner",
"testEnvironment": "@kayahr/jest-electron-runner/environment",
"globalSetup": "<rootDir>/test/jest-global-setup.ts",
"globalTeardown": "<rootDir>/test/jest-global-teardown.ts",
"testMatch": [
"<rootDir>/test/*.test.ts"
]
}
}