-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
71 lines (71 loc) · 2.3 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
{
"name": "@thorvg/lottie-player",
"version": "1.0.0-pre.9",
"description": "A web lottie player using ThorVG as a renderer",
"main": "./dist/lottie-player.cjs.js",
"module": "./dist/lottie-player.esm.js",
"exports": {
".": {
"import": "./dist/lottie-player.cjs.js",
"require": "./dist/lottie-player.esm.js"
}
},
"publishConfig": {
"access": "public"
},
"files": [
"dist/"
],
"types": "./dist/lottie-player.d.ts",
"scripts": {
"build": "npm run clean && npm run copy:wasm && npm run copy:js && THORVG_VERSION=$(sed -n -e 4p ./thorvg/meson.build | sed 's/..$//' | sed -r 's/.{19}//') rollup -c --bundleConfigAsCjs && rm -rf ./dist/thorvg-wasm.js",
"build:watch": "npm run clean && npm run copy:wasm && rollup -c --bundleConfigAsCjs --watch",
"copy:wasm": "cp ./thorvg/build_wasm/src/bindings/wasm/thorvg-wasm.wasm ./dist",
"copy:js": "cp ./thorvg/build_wasm/src/bindings/wasm/thorvg-wasm.js ./dist",
"clean": "rm -rf dist && mkdir dist && touch dist/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint ./src --ext .ts,.tsx,.js",
"lint:fix": "eslint ./src --ext .ts,.tsx,.js --fix"
},
"repository": {
"type": "git",
"url": "git+https://github.com/thorvg/thorvg.web.git"
},
"author": "Jinny You <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/thorvg/thorvg.web/issues"
},
"homepage": "https://thorvg.org",
"keywords": [
"lottie",
"animation",
"thorvg",
"tvg"
],
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"@swc/core": "^1.3.99",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^40.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-wc": "^2.0.4",
"rollup": "^4.6.0",
"rollup-plugin-baked-env": "^1.0.1",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-polyfill-node": "^0.13.0",
"rollup-plugin-swc3": "^0.10.4",
"rollup-plugin-terser": "^7.0.2",
"typescript": "*"
},
"dependencies": {
"lit": "^3.1.0",
"url": "^0.11.3",
"uuid": "^10.0.0"
}
}