-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
67 lines (67 loc) · 2.04 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
{
"name": "react-lottie-player",
"version": "2.1.0",
"description": "Fully declarative React Lottie player",
"author": "mifi",
"license": "MIT",
"repository": "mifi/react-lottie-player",
"main": "dist/LottiePlayer.js",
"module": "dist/LottiePlayer.modern.js",
"engines": {
"node": ">=10"
},
"types": "dist/index.d.ts",
"scripts": {
"build": "rm -rf dist && microbundle-crl src/LottiePlayer.js src/LottiePlayerLight.js --no-compress --format modern,cjs -o dist && cp src/*.d.ts dist",
"start": "rm -rf dist && microbundle-crl watch src/LottiePlayer.js src/LottiePlayerLight.js --no-compress --format modern,cjs -o dist",
"test": "npm run build && npm run test:unit",
"lint": "eslint .",
"tsc": "tsc",
"test:unit": "NODE_OPTIONS=--experimental-vm-modules jest",
"predeploy": "cd example && yarn run build",
"deploy": "gh-pages -d example/dist"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@tsconfig/strictest": "^2.0.3",
"@tsconfig/vite-react": "^3.0.1",
"@types/eslint": "^8",
"@types/react": "18",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"@vitejs/plugin-react": "^4.0.3",
"eslint": "^8.2.0",
"eslint-config-mifi": "^0.0.6",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-unicorn": "^51.0.1",
"execa": "^5.0.0",
"gh-pages": "^2.2.0",
"got": "^12.5.3",
"jest": "^29.3.1",
"jest-image-snapshot": "^6.1.0",
"jest-puppeteer": "^6.2.0",
"microbundle-crl": "^0.13.10",
"puppeteer": "^19.4.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "~5.3.0",
"vite": "^5.1.6"
},
"files": [
"dist"
],
"dependencies": {
"fast-deep-equal": "^3.1.3",
"lottie-web": "^5.12.2",
"rfdc": "^1.3.0"
},
"jest": {
"preset": "jest-puppeteer"
},
"packageManager": "[email protected]"
}