-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
111 lines (111 loc) · 3.49 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
{
"name": "react-spring-carousel",
"version": "2.0.19-beta0018",
"description": "A new <Carousel /> experience for the web",
"homepage": "https://react-spring-carousel.emilianobucci.com",
"repository": "https://github.com/Emiliano-Bucci/react-spring-carousel",
"author": "Emiliano Bucci",
"license": "MIT",
"keywords": [
"react",
"react-spring",
"carousel",
"react-carousel",
"react-spring-carousel",
"slider",
"react-slider",
"react-spring-slider",
"animated"
],
"main": "./dist/cjs/index.js",
"module": "./dist/esm",
"types": "./dist/types/index.d.ts",
"files": [
"dist"
],
"exports": {
".": {
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
}
},
"scripts": {
"start": "start-storybook -p 6006",
"clean": "rimraf dist",
"build-storybook": "build-storybook",
"build:lib": "npm run clean && rollup -c",
"lint": "eslint --fix --config .eslintrc.js 'src/**/*.{ts,tsx,js}'",
"prepare": "husky install",
"lint-staged": "lint-staged",
"test": "NODE_ENV=test jest --watch",
"check:tag:branch": "node --experimental-modules scripts/release.js",
"release:test": "jest",
"push:tags": "git push --follow-tags",
"release:lib": "npm run lint && npm run check:tag:branch && npm run build:lib && npm run push:tags && npm publish",
"storybook": "start-storybook -p 6006",
"release:beta": "npm run build:lib && npm publish --tag beta"
},
"dependencies": {
"@use-gesture/react": "^10.2.19",
"rxjs": "^7.5.4",
"screenfull": "^5.2.0"
},
"devDependencies": {
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"@emotion/babel-plugin": "^11.9.2",
"@emotion/babel-preset-css-prop": "^11.2.0",
"@emotion/jest": "^11.9.1",
"@emotion/react": "^11.9.0",
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@storybook/addon-actions": "^6.5.0-alpha.63",
"@storybook/addon-essentials": "^6.5.0-alpha.63",
"@storybook/addon-links": "^6.5.0-alpha.63",
"@storybook/react": "^6.5.0-alpha.63",
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@types/jest": "^27.4.1",
"@types/react": "^18.0.5",
"@types/react-dom": "^18.0.1",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"babel-loader": "^8.2.3",
"chalk": "^5.0.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.29.3",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-testing-library": "^5.0.6",
"git-repo-info": "^2.1.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"prettier": "^2.5.1",
"react-spring-carousel": "^2.0.13",
"rimraf": "^3.0.2",
"rollup": "^2.69.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-exclude-dependencies-from-bundle": "^1.1.22",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"rollup-plugin-visualizer": "^5.6.0",
"ts-jest": "^27.1.3",
"typescript": "^4.6.2"
},
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-spring": "^9.4.5-beta.0 "
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix --config .eslintrc.precommit.js"
]
}
}