-
Notifications
You must be signed in to change notification settings - Fork 511
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.71 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.71 KB
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
{
"name": "@tencent/libpag",
"version": "4.0.0",
"description": "Portable Animated Graphics",
"main": "lib/libpag.cjs.js",
"module": "lib/libpag.esm.js",
"browser": "lib/libpag.umd.js",
"typings": "types/web/pag.d.ts",
"scripts": {
"build:js": "rimraf lib/*.js lib/*.map types/* && rollup -c ./script/rollup.config.js && tsc -p ./tsconfig.type.json",
"build:wx:js": "rimraf wechat/lib/*.js wechat/lib/*.map wechat/lib/*.br wechat/types/* && rollup -c ./script/rollup.config.wx.js && tsc -p ./wechat/tsconfig.type.json && brotli ./wechat/lib/libpag.wasm",
"build": "node script/cmake.demo.js && npm run build:js",
"build:wx": "node script/cmake.demo.js && npm run build:wx:js",
"build:debug": "node script/cmake.demo.js --debug && npm run build:js",
"build:wx:debug": "node script/cmake.demo.js --debug && npm run build:wx:js",
"dev": "rollup -c ./script/rollup.config.dev.js -w",
"dev:wx": "rollup -c ./script/rollup.config.wx.dev.js -w",
"dev:wx:brotli": "./script/brotli.sh",
"eslint": "eslint --ext .ts src/ --config .eslintrc.js",
"eslint:fix": "eslint --ext .ts src/ --fix",
"prettier": "prettier --check \"src/**/*.ts\"",
"prettier:fix": "prettier --write \"src/**/*.ts\"",
"test": "node ./script/test.js",
"cypress": "cypress run --browser chrome",
"server": "http-server -p 8080 . -c-1 --cors -o demo",
"doc": "rimraf api-docs && typedoc --entryPointStrategy expand ./src --tsconfig ./tsconfig.doc.json",
"brotli": "brotli ./lib/libpag.wasm"
},
"repository": {
"type": "git",
"url": "https://github.com/Tencent/libpag/tree/main/web"
},
"devDependencies": {
"@babel/core": "~7.26.10",
"@babel/preset-env": "~7.26.9",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "~6.0.2",
"@rollup/plugin-commonjs": "~28.0.3",
"@rollup/plugin-json": "~6.1.0",
"@rollup/plugin-node-resolve": "~16.0.1",
"vue-eslint-parser": "^9.0.0",
"@types/emscripten": "~1.39.6",
"@typescript-eslint/eslint-plugin": "~8.27.0",
"@typescript-eslint/parser": "~8.27.0",
"brotli": "~1.3.3",
"cypress": "~9.5.0",
"esbuild": "~0.15.14",
"eslint": "~9.22.0",
"eslint-config-alloy": "~5.1.2",
"http-server": "~14.1.1",
"prettier": "~2.7.1",
"rimraf": "~5.0.10",
"rollup": "~2.79.1",
"rollup-plugin-esbuild": "~4.10.3",
"rollup-plugin-terser": "~7.0.2",
"tslib": "~2.4.1",
"typedoc": "~0.23.21",
"typescript": "~5.0.3"
},
"files": [
"lib",
"types",
"src",
"README.md",
"README.zh_CN.md",
"CHANGELOG.md",
"CHANGELOG.zh_CN.md",
"LICENSE.txt"
],
"license": "Apache-2.0",
"contributors": [
"zenoslin",
"lvpengwei"
],
"author": "libpag"
}