forked from jane/react-whirligig
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
125 lines (125 loc) · 3.36 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
{
"name": "react-whirligig",
"description": "A react carousel/slider like component for sequentially displaying slides or sets of slides",
"version": "6.6.12",
"author": "Jane Web Team",
"license": "MIT",
"main": "lib/react-whirligig.js",
"module": "lib/react-whirligig.es.js",
"jsnext:main": "lib/react-whirligig.es.js",
"files": [
"es",
"lib"
],
"scripts": {
"build": "rollup -c",
"cover": "npm run test:jest -- --coverage",
"cover:coveralls": "if [ -n \"$COVERALLS_REPO_TOKEN\" ] ; then coveralls < coverage/lcov.info ; fi || true",
"dev": "webpack-dev-server --quiet --no-info --hot --inline --history-api-fallback --config webpack.config.babel.js",
"doc": "webpack-cli -p --config webpack.config.babel.js && git add docs && git commit -m 'docs' 2>/dev/null || true",
"format": "prettier --write dev.js rollup.config.js \"{src,test}/**/*.js\"",
"postversion": "run-s -s doc",
"prebuild": "run-s -s test:lint cover",
"preversion": "npm run build",
"test": "run-s -s test:lint test:jest",
"test:jest": "jest",
"test:lint": "eslint -c .eslintrc.json src test dev.js"
},
"homepage": "https://jane.github.io/react-whirligig",
"repository": {
"type": "git",
"url": "git+https://github.com/jane/react-whirligig.git"
},
"bugs": {
"url": "https://github.com/jane/react-whirligig/issues"
},
"keywords": [
"carousel",
"react",
"slide",
"slider",
"track"
],
"dependencies": {},
"devDependencies": {
"@babel/cli": "7.11.6",
"@babel/core": "7.11.6",
"@babel/plugin-external-helpers": "7.10.4",
"@babel/plugin-proposal-class-properties": "7.10.4",
"@babel/preset-env": "7.11.5",
"@babel/preset-react": "7.10.4",
"@babel/register": "7.11.5",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "10.1.0",
"babel-jest": "26.3.0",
"babel-loader": "8.1.0",
"coveralls": "3.1.0",
"enzyme": "3.11.0",
"enzyme-adapter-react-16": "1.15.4",
"eslint": "7.9.0",
"eslint-plugin-jane": "9.0.2",
"husky": "4.3.0",
"jest": "26.4.2",
"jsdom": "16.4.0",
"lint-staged": "10.4.0",
"marked": "1.1.1",
"npm-run-all": "4.1.5",
"prettier": "2.1.2",
"react": "16.12.0",
"react-dom": "16.13.1",
"react-test-renderer": "16.13.1",
"rollup": "2.27.1",
"rollup-plugin-babel": "4.4.0",
"rollup-plugin-commonjs": "10.1.0",
"rollup-plugin-inject": "3.0.2",
"rollup-plugin-node-resolve": "5.2.0",
"rollup-plugin-replace": "2.2.0",
"sortpack": "2.1.8",
"tap-spec": "5.0.0",
"webpack": "4.44.2",
"webpack-cli": "3.3.12",
"webpack-dev-server": "3.11.0"
},
"jest": {
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageReporters": [
"json-summary",
"lcov",
"text",
"json"
],
"moduleFileExtensions": [
"js",
"json"
],
"modulePaths": [
"<rootDir>/src/"
],
"setupFiles": [
"<rootDir>/config/jest-setup.js"
],
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"<rootDir>/(lib|node_modules)/"
],
"testRegex": "\\.test\\.js$",
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"lint-staged": {
"*.js": [
"prettier --write"
]
},
"peerDependencies": {
"react": "^16.0.0"
},
"husky": {
"hooks": {
"pre-commit": "sortpack && lint-staged"
}
}
}