forked from kidjp85/react-id-swiper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 3.27 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
{
"name": "react-id-swiper",
"version": "2.1.2",
"description": "ReactJs component for iDangerous Swiper",
"main": "lib/index",
"types": "lib/index.d.ts",
"files": [
"lib/**/*",
"src/styles/**/*"
],
"scripts": {
"build:cleanup": "rimraf lib",
"build:lib": "yarn build:cleanup && tsc",
"build:standalone": "cross-env BABEL_ENV=production webpack",
"build": "yarn build:lib && yarn build:standalone",
"lint": "tslint --project tslint.json 'src/**/*.ts?(x)'",
"lint:fix": "tslint --fix --project tslint.json 'src/**/*.ts?(x)'",
"test": "jest",
"test:dev": "jest --watch --coverage",
"test:coverage": "jest --coverage",
"prepare": "yarn build",
"preversion": "yarn lint",
"prepublishOnly": "yarn test && yarn lint"
},
"keywords": [
"iDangerous",
"Swiper",
"Reactjs"
],
"engines": {
"node": ">= 6.11.0"
},
"repository": {
"type": "git",
"url": "git://github.com/kidjp85/react-id-swiper.git"
},
"bugs": {
"url": "https://github.com/kidjp85/react-id-swiper/issues"
},
"dependencies": {
"object-assign": "^4.1.1"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0",
"swiper": ">=4.0.0"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@types/enzyme": "^3.9.0",
"@types/enzyme-adapter-react-16": "^1.0.5",
"@types/jest": "^24.0.11",
"@types/jsdom": "^12.2.3",
"@types/object-assign": "^4.0.30",
"@types/react": "^16.8.7",
"@types/react-dom": "^16.8.2",
"@types/swiper": "^4.4.2",
"awesome-typescript-loader": "^5.2.1",
"babel-jest": "^24.4.0",
"babel-plugin-dynamic-import-node": "^2.2.0",
"cross-env": "^5.2.0",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.10.0",
"enzyme-to-json": "^3.3.5",
"jest": "^24.4.0",
"prettier": "^1.16.4",
"react": "^16.8.4",
"react-dom": "^16.8.4",
"rimraf": "^2.6.3",
"swiper": "^4.5.0",
"ts-jest": "^24.0.0",
"ts-loader": "^5.3.3",
"tslint": "^5.13.1",
"tslint-config-airbnb": "^5.11.1",
"tslint-config-prettier": "^1.18.0",
"tslint-loader": "^3.5.4",
"tslint-plugin-prettier": "^2.0.1",
"tslint-react": "^4.0.0",
"tslint-react-hooks": "^2.0.0-alpha.2",
"typescript": "^3.3.3333",
"uglifyjs-webpack-plugin": "^2.1.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.2.3"
},
"jest": {
"resetMocks": true,
"resetModules": true,
"verbose": true,
"browser": true,
"collectCoverage": true,
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"transform": {
"^.+\\.(js|jsx)$": "babel-jest",
"^.+\\.(ts|tsx)$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx"
],
"roots": [
"<rootDir>/src/"
],
"moduleDirectories": [
"node_modules",
"<rootDir>/src"
],
"transformIgnorePatterns": [
"node_modules/(?!(swiper|dom7)/)"
],
"setupFiles": [
"<rootDir>/src/tests/setup.ts"
],
"testMatch": [
"<rootDir>/src/tests/**/*.test.(ts|tsx|js)"
]
},
"author": "Phuc Nguyen Hoang<phucnguyenhoang1985@gmail.com>",
"license": "MIT"
}