-
Notifications
You must be signed in to change notification settings - Fork 80
/
package.json
executable file
·140 lines (140 loc) · 4.93 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "@lottiefiles/react-lottie-player",
"version": "3.5.4",
"description": "Lottie web player wrapper for React",
"main": "dist/lottie-react.js",
"module": "dist/lottie-react.esm.js",
"types": "dist/src/index.d.ts",
"files": [
"dist",
"src"
],
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/preset-env": "^7.16.11",
"@changesets/cli": "^2.21.1",
"@commitlint/cli": "^12.1.1",
"@commitlint/config-conventional": "^12.1.1",
"@cypress/code-coverage": "^3.9.12",
"@istanbuljs/nyc-config-typescript": "^1.0.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^11.1.0",
"@rollup/plugin-node-resolve": "^7.1.3",
"@rollup/plugin-strip": "^1.3.2",
"@rollup/plugin-typescript": "^8.1.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.2.1",
"@semantic-release/npm": "^7.1.1",
"@semantic-release/release-notes-generator": "^9.0.2",
"@storybook/addon-actions": "^5.3.18",
"@storybook/addon-console": "^1.2.2",
"@storybook/addon-links": "^5.3.18",
"@storybook/addons": "^5.3.18",
"@storybook/preset-create-react-app": "^3.0.0",
"@storybook/preset-typescript": "^3.0.0",
"@storybook/react": "^5.3.18",
"@types/jest": "^25.2.3",
"@types/react": "^18.0.9",
"@types/styled-components": "^5.1.0",
"@typescript-eslint/eslint-plugin": "^2.24.0",
"@typescript-eslint/parser": "^2.24.0",
"babel-loader": "^8.1.0",
"babel-plugin-istanbul": "^6.1.1",
"cross-env": "^7.0.3",
"css-loader": "^3.5.3",
"csstype": "^2.6.10",
"cypress": "^9.5.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-loader": "^3.0.3",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"eslint-plugin-simple-import-sort": "^5.0.2",
"husky": ">=4",
"jest": "^26.0.1",
"lint-staged": ">=10",
"prettier": "^1.19.1",
"react": "^18.1.0",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^18.1.0",
"react-scripts": "^3.4.1",
"rollup": "^2.9.1",
"rollup-plugin-filesize": "^9.0.0",
"rollup-plugin-peer-deps-external": "^2.2.2",
"rollup-plugin-postcss": "^3.1.1",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-typescript2": "^0.27.0",
"semantic-release": "^17.4.2",
"source-map-support": "^0.5.21",
"style-loader": "^1.2.1",
"ts-jest": "^26.0.0",
"ts-loader": "^7.0.4",
"ts-node": "^10.7.0",
"typescript": "^3.5.3",
"typings-for-css-modules-loader": "^1.7.0",
"webpack": "^4.43.0"
},
"peerDependencies": {
"react": "16 - 18"
},
"dependencies": {
"lottie-web": "^5.12.2"
},
"scripts": {
"predev": "node -p \"'export const REACT_LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts",
"dev": "rollup -c -w",
"prebuild": "node -p \"'export const REACT_LOTTIE_PLAYER_VERSION = ' + JSON.stringify(require('./package.json').version) + '; \\n' + 'export const LOTTIE_WEB_VERSION = ' + JSON.stringify(require('./package.json').dependencies['lottie-web']) + ';'\" > src/versions.ts",
"build": "rollup -c",
"prepublishOnly": "yarn build",
"run-tests": "while ! nc -z localhost 8080 ; do sleep 1 ; done && yarn run start-cypress && npx nyc report --reporter=text-summary",
"postrun-tests": "kill $(lsof -t -i:8080)",
"start-and-run-tests": "cross-env NODE_ENV=test yarn run build && yarn run serve-app && yarn run-tests",
"serve-app": "cd ./cypress/react-testing-pages && yarn && yarn run start &",
"start-cypress": "yarn run cypress run",
"lint": "tsc --noEmit && eslint . --ext .ts,.tsx,.js",
"lint:fix": "eslint . --ext .ts,.tsx,.js --fix",
"storybook": "start-storybook -p 9009",
"build-storybook": "build-storybook",
"version": "yarn changeset version"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/LottieFiles/lottie-react.git"
},
"keywords": [
"lottie",
"lottiefiles",
"react"
],
"author": "Jawish Hameed <[email protected]>",
"contributors": [
"Karam Ali <[email protected]>"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/LottieFiles/lottie-react/issues"
},
"homepage": "https://github.com/LottieFiles/lottie-react#readme",
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{css,scss,md}": [
"prettier --write"
],
"src/**/*.{js,jsx,ts,tsx,json}": [
"eslint . --ext .ts,.tsx,.js --fix"
]
},
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true
}
}