forked from svga/SVGAPlayer-Web-Lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.54 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
{
"name": "svga",
"version": "2.0.8-alpha.1",
"description": "Lightweight SVGA Web Player",
"main": "dist/index.cjs.min.js",
"module": "dist/index.esm.min.js",
"browser": "dist/index.min.js",
"types": "dist/index.d.ts",
"jsdelivr": "dist/index.min.js",
"keywords": [
"svga"
],
"repository": {
"type": "git",
"url": "git+https://github.com/svga/SVGAPlayer-Web-Lite"
},
"bugs": {
"url": "https://github.com/svga/SVGAPlayer-Web-Lite/issues"
},
"homepage": "https://github.com/svga/SVGAPlayer-Web-Lite/#readme",
"scripts": {
"format:check": "eslint",
"type:check": "tsc --noEmit",
"test": "cross-env NODE_ENV=test rollup -c -w",
"clean": "rimraf dist",
"build:umd": "cross-env FORMAT=umd rollup -c",
"build:cjs": "cross-env FORMAT=cjs rollup -c",
"build:esm": "cross-env FORMAT=esm rollup -c",
"build:index": "cross-env NODE_ENV=production node ./scripts/inject-parser.mjs",
"build": "run-s clean build:umd build:cjs build:esm build:index",
"prepack": "npm run build"
},
"files": [
"dist"
],
"author": "SVGA",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@rollup/plugin-node-resolve": "^13.0.0",
"@typescript-eslint/eslint-plugin": "^4.28.1",
"cross-env": "^5.2.0",
"eslint": "^7.27.0",
"eslint-config-standard-with-typescript": "^20.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"fs-extra": "^10.0.0",
"glob": "^7.1.7",
"lint-staged": "^11.1.1",
"npm-run-all": "^4.1.5",
"protobufjs": "git+https://github.com/lijialiang/protobuf.js.git",
"rimraf": "^3.0.2",
"rollup": "^2.51.1",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-banner": "^0.2.1",
"rollup-plugin-livereload": "^1.0.1",
"rollup-plugin-serve": "^1.0.1",
"rollup-plugin-terser": "^5.1.1",
"rollup-plugin-typescript2": "^0.30.0",
"tslib": "^2.3.0",
"typescript": "^4.9.4",
"yorkie": "^2.0.0",
"zlibjs": "git+https://github.com/lijialiang/zlib.js.git#esm"
},
"lint-staged": {
"./src/**/*.{js,ts}": [
"npm run format:check"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"gitHooks": {
"pre-commit": "npm run type:check && lint-staged",
"commit-msg": "commitlint -e $GIT_PARAMS"
}
}