|
6 | 6 | "contributors": [ |
7 | 7 | "Ivan Popelyshev <[email protected]>" |
8 | 8 | ], |
9 | | - "source": "./src/index.ts", |
10 | 9 | "main": "./lib/index.js", |
11 | 10 | "module": "./lib/index.mjs", |
12 | 11 | "types": "./lib/index.d.ts", |
13 | | - "bundle": "./dist/pixi-layers.js", |
14 | 12 | "exports": { |
15 | 13 | ".": { |
16 | 14 | "import": "./lib/index.mjs", |
17 | 15 | "require": "./lib/index.js", |
18 | 16 | "types": "./lib/index.d.ts" |
19 | 17 | } |
20 | 18 | }, |
21 | | - "namespace": "PIXI.layers", |
| 19 | + "extensionConfig": { |
| 20 | + "lint": ["src"], |
| 21 | + "namespace": "PIXI.layers", |
| 22 | + "docsName": "PixiJS Layers", |
| 23 | + "docsCopyright": "Copyright © 2015 - 2022 Ivan Popelyshev", |
| 24 | + "docsTitle": "PixiJS Layers API Documentation", |
| 25 | + "docsDescription": "Documentation for PixiJS Layers library", |
| 26 | + "docsKeyword": "docs, documentation, pixi, pixijs, rendering, pixi-layers, display, pixi-display, javascript, jsdoc" |
| 27 | + }, |
22 | 28 | "homepage": "http://www.pixijs.com/", |
23 | 29 | "bugs": "https://github.com/pixijs/pixi-layers/issues", |
24 | 30 | "license": "MIT", |
|
27 | 33 | "url": "https://github.com/pixijs/pixi-layers.git" |
28 | 34 | }, |
29 | 35 | "scripts": { |
30 | | - "clean": "rimraf dist/* lib/*", |
31 | | - "start": "run-s watch", |
32 | | - "watch": "rollup -cw", |
33 | | - "examples": "http-server . -o examples -s", |
34 | | - "prebuild": "run-s clean lint types", |
35 | | - "build": "rollup -c", |
36 | | - "postbuild": "run-s build:types", |
37 | | - "prebuild:types": "rimraf lib/**.d.ts", |
38 | | - "build:types": "tsc --outDir lib --declaration --emitDeclarationOnly", |
39 | | - "postbuild:types": "node ./scripts/fix-types", |
40 | | - "lint": "eslint ./src", |
41 | | - "types": "tsc -noEmit", |
42 | | - "release:patch": "npm version patch && npm publish", |
43 | | - "release:minor": "npm version minor && npm publish", |
44 | | - "release:major": "npm version major && npm publish", |
45 | | - "postversion": "run-s build", |
46 | | - "postpublish": "run-s deploy && git push && git push --tags", |
47 | | - "prepack": "clean-package", |
48 | | - "postpack": "clean-package restore", |
49 | | - "predocs": "rimraf docs/**", |
50 | | - "docs": "webdoc -c webdoc.json -r README.md", |
51 | | - "predeploy": "run-s docs", |
52 | | - "deploy": "gh-pages -d . -s \"{dist,examples,docs}/**\" -f" |
| 36 | + "clean": "xs clean", |
| 37 | + "start": "xs serve", |
| 38 | + "watch": "xs watch", |
| 39 | + "build": "xs build", |
| 40 | + "lint": "xs lint", |
| 41 | + "lint:fix": "xs lint --fix", |
| 42 | + "types": "xs types", |
| 43 | + "release": "xs release", |
| 44 | + "docs": "xs docs", |
| 45 | + "test": "xs build,docs", |
| 46 | + "deploy": "xs deploy" |
53 | 47 | }, |
54 | 48 | "publishConfig": { |
55 | 49 | "access": "public" |
|
58 | 52 | "node": ">=16", |
59 | 53 | "npm": ">=8" |
60 | 54 | }, |
61 | | - "clean-package": { |
62 | | - "indent": 2, |
63 | | - "remove": [ |
64 | | - "clean-package", |
65 | | - "scripts", |
66 | | - "engines", |
67 | | - "devDependencies", |
68 | | - "eslintConfig", |
69 | | - "source", |
70 | | - "eslintConfig" |
71 | | - ] |
72 | | - }, |
73 | 55 | "files": [ |
74 | 56 | "dist/", |
75 | 57 | "lib/", |
76 | 58 | "global.d.ts" |
77 | 59 | ], |
78 | | - "eslintConfig": { |
79 | | - "rules": { |
80 | | - "@typescript-eslint/triple-slash-reference": 0 |
81 | | - }, |
82 | | - "extends": [ |
83 | | - "@pixi/eslint-config" |
84 | | - ] |
85 | | - }, |
86 | 60 | "peerDependencies": { |
87 | 61 | "@pixi/canvas-renderer": "^7.0.0", |
88 | 62 | "@pixi/core": "^7.0.0", |
|
92 | 66 | "@pixi/canvas-renderer": "^7.0.0", |
93 | 67 | "@pixi/core": "^7.0.0", |
94 | 68 | "@pixi/display": "^7.0.0", |
95 | | - "@pixi/eslint-config": "^4.0.1", |
96 | | - "@pixi/webdoc-template": "^1.5.4", |
97 | | - "@webdoc/cli": "^2.2.0", |
98 | | - "clean-package": "^1.0.1", |
99 | | - "eslint": "^7.21.0", |
100 | | - "gh-pages": "^4.0.0", |
101 | | - "http-server": "^14.1.1", |
102 | | - "npm-run-all": "^4.1.5", |
103 | | - "rimraf": "^2.5.3", |
104 | | - "rollup": "^2.50.5", |
105 | | - "rollup-plugin-esbuild": "^4.10.1", |
106 | | - "typescript": "^4.3.2" |
| 69 | + "@pixi/extension-scripts": "^1.4.0" |
107 | 70 | } |
108 | 71 | } |
0 commit comments