forked from pmndrs/react-spring.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.72 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
{
"name": "react-spring-io",
"version": "1.0.0",
"private": true,
"author": "Poimandres",
"license": "MIT",
"dependencies": {
"@mdx-js/loader": "^1.6.22",
"@mdx-js/react": "^1.6.22",
"@next/mdx": "^10.1.3",
"@react-spring/parallax": "^9.1.1",
"clsx": "^1.1.1",
"lodash-move": "^1.1.1",
"lodash.clamp": "^4.0.3",
"lodash.shuffle": "^4.2.0",
"lorem-ipsum": "^2.0.3",
"next": "^10.1.3",
"next-seo": "^4.23.0",
"prism-react-renderer": "^1.2.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-feather": "^2.0.9",
"react-lazyload": "^3.2.0",
"react-live": "^2.2.3",
"react-scroll-percentage": "^4.2.0",
"react-spring": "^9.1.1",
"react-twitter-widgets": "^1.10.0",
"react-use-gesture": "^9.1.3",
"react-use-measure": "^2.0.4",
"react-visibility-sensor": "^5.1.1",
"remark-autolink-headings": "^6.0.1",
"remark-slug": "^6.0.0",
"resize-observer-polyfill": "^1.5.1",
"styled-components": "^5.2.3"
},
"scripts": {
"prebuild": "rm -rf react-spring",
"postinstall": "yarn submodule:init && yarn submodule:update && yarn copy:spring-demos && yarn prettier:write",
"copy:spring-demos": "rm -rf ./src/demos && cd ./src && mkdir demos && cd ../ && recursive-copy ./react-spring/demo/src/sandboxes ./src/demos -f '**/*.tsx' '**/*.css' '**/*.ts' && rm -rf ./src/demos/react-spring",
"dev": "next",
"start": "next start",
"build": "next build",
"prettier:write": "prettier --write 'src/**/*'",
"prettier:check": "prettier --check .",
"submodule:init": "git submodule init && git submodule update",
"submodule:update": "git submodule foreach git pull origin master",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix && yarn prettier:write",
"test": "eslint . --ext .js,.jsx,.ts,.tsx && yarn check-types && yarn prettier:check"
},
"husky": {
"hooks": {
"precommit": "pretty-quick --staged"
}
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"devDependencies": {
"@types/lodash.shuffle": "^4.2.6",
"@types/mdx-js__react": "^1.5.3",
"@types/react": "^17.0.3",
"@types/react-lazyload": "^3.1.0",
"@types/styled-components": "^5.1.9",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.20.0",
"babel-plugin-styled-components": "^1.12.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.23.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^1.3.1",
"prettier": "^1.18.2",
"pretty-quick": "^1.10.0",
"recrawl": "^2.0.1",
"recursive-copy-cli": "^1.0.16",
"typescript": "^4.2.3"
}
}