mirror of
https://github.com/zhigang1992/libpag.git
synced 2026-01-12 22:48:25 +08:00
61 lines
1.7 KiB
JSON
61 lines
1.7 KiB
JSON
{
|
|
"name": "libpag",
|
|
"version": "0.0.1",
|
|
"description": "Portable Animated Graphics",
|
|
"main": "lib/libpag.cjs.js",
|
|
"module": "lib/libpag.esm.js",
|
|
"browser": "lib/libpag.umd.js",
|
|
"typings": "types/pag.d.ts",
|
|
"scripts": {
|
|
"build": "rimraf lib/*.js lib/*.map types/* && rollup -c ./script/rollup.config.js && tsc -p ./tsconfig.type.json",
|
|
"dev": "rollup -c ./script/rollup.config.dev.js -w",
|
|
"eslint": "eslint --ext .ts src/ --config .eslintrc.js",
|
|
"eslint:fix": "eslint --ext .ts src/ --fix",
|
|
"test": "jest --no-cache",
|
|
"doc": "rimraf api-docs && typedoc --entryPointStrategy expand ./src"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/tencent/libpag/web"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.13",
|
|
"@babel/preset-env": "^7.12.13",
|
|
"@rollup/plugin-babel": "^5.2.3",
|
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
"@rollup/plugin-json": "^4.1.0",
|
|
"@rollup/plugin-node-resolve": "^11.1.1",
|
|
"@types/emscripten": "^1.39.6",
|
|
"@types/jest": "^27.0.3",
|
|
"@types/offscreencanvas": "^2019.6.4",
|
|
"@typescript-eslint/eslint-plugin": "^5.9.1",
|
|
"@typescript-eslint/parser": "^5.9.1",
|
|
"esbuild": "^0.13.14",
|
|
"eslint": "^7.31.0",
|
|
"eslint-config-alloy": "^4.4.0",
|
|
"jest": "^26.6.3",
|
|
"jest-canvas-mock": "^2.3.1",
|
|
"rimraf": "^3.0.2",
|
|
"rollup": "^2.38.5",
|
|
"rollup-plugin-esbuild": "^4.7.1",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"ts-jest": "^26.5.0",
|
|
"tslib": "^2.1.0",
|
|
"typedoc": "^0.22.10",
|
|
"typescript": "^4.5.2"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"types",
|
|
"README.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE.txt"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"contributors": [
|
|
"zenoslin",
|
|
"lvpengwei"
|
|
],
|
|
"author": "libpag"
|
|
}
|