-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathpackage.json
95 lines (95 loc) · 2.75 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
{
"name": "react-grid-carousel",
"version": "1.0.1",
"description": "React resposive carousel component w/ grid layout",
"homepage": "https://react-grid-carousel.now.sh/",
"keywords": [
"react",
"carousel",
"slider",
"gallery",
"image",
"grid",
"responsive",
"react-component",
"react-carousel",
"react-slider",
"react-image",
"react-grid"
],
"repository": {
"url": "[email protected]:x3388638/react-grid-carousel.git",
"type": "git"
},
"main": "dist/bundle.js",
"scripts": {
"dev": "npm run build && webpack-dev-server --config examples/webpack.config.js",
"build": "rollup -c",
"prettier:check": "prettier --check './**/*.{js,json,css}' && echo \"✅ Prettier validated\"",
"prettier:write": "prettier --write './**/*.{js,json,css}'",
"stylelint": "stylelint './{src,examples,stories}/**/*.js' && echo \"✅ Stylelint validated\"",
"lint": "eslint './**/*.js'",
"lint:fix": "eslint './**/*.js' --fix",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"deploy:now": "webpack --config examples/webpack.config.js && now examples/ -n react-grid-carousel --prod"
},
"author": "YY",
"license": "MIT",
"dependencies": {
"lodash.debounce": "^4.0.8",
"prop-types": "^15.7.2",
"smoothscroll-polyfill": "^0.4.4",
"styled-components": "^4.4.1"
},
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@storybook/addon-actions": "^5.3.8",
"@storybook/addon-knobs": "^5.3.8",
"@storybook/addon-links": "^5.3.8",
"@storybook/addon-viewport": "^5.3.8",
"@storybook/addons": "^5.3.8",
"@storybook/react": "^5.3.8",
"babel-loader": "^8.0.6",
"babel-plugin-styled-components": "^1.10.6",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^6.8.0",
"eslint-plugin-react": "^7.18.0",
"eslint-plugin-react-hooks": "^2.3.0",
"husky": "^4.0.10",
"lint-staged": "^10.0.1",
"prettier": "^1.19.1",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"rollup": "^1.29.1",
"rollup-plugin-babel": "^4.3.3",
"stylelint": "^13.2.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1"
},
"peerDependencies": {
"react": "^16.12.0",
"react-dom": "^16.12.0"
},
"lint-staged": {
"*.{js,json,css}": [
"npm run prettier:check"
],
"*.js": [
"npm run stylelint",
"npm run lint"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}