forked from conradlo/react-pinch-and-zoom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.13 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
{
"name": "react-pinch-and-zoom",
"version": "1.1.3",
"author": "Conrad Lo",
"description": "A react container component with pinch-to-zoom gesture interaction.",
"keywords": [
"react",
"reactjs",
"pinch",
"zoom",
"pan"
],
"files": [
"lib/"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/conradlo/react-pinch-and-zoom"
},
"homepage": "https://github.com/conradlo/react-pinch-and-zoom#readme",
"bugs": "https://github.com/conradlo/react-pinch-and-zoom/issues",
"license": "MIT",
"scripts": {
"start": "node server.js",
"test": "jest",
"test:watch": "jest --watch",
"lint": "eslint ./src --ext .js,.jsx && tslint --project .",
"lint:fix": "eslint --fix ./src --ext .js,.jsx && tslint --project . --fix",
"clear:lib": "rimraf lib/",
"clear:docs": "rimraf docs/",
"clear:all": "npm run clear:lib && npm run clear:docs",
"build:lib": "tsc --project .",
"build:docs": "webpack --config webpack.prod.js",
"build:all": "npm run build:lib && npm run build:docs",
"build": "npm run lint:fix && npm run test && npm run clear:all && npm run build:all",
"prepublish": "npm run build"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/preset-env": "^7.3.4",
"@babel/preset-react": "^7.0.0",
"@types/jest": "^24.0.9",
"@types/react": "^16.8.5",
"@types/react-dom": "^16.8.2",
"awesome-typescript-loader": "^5.2.1",
"babel-cli": "^6.26.0",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"clean-webpack-plugin": "^1.0.1",
"css-loader": "^2.1.0",
"eslint": "^5.14.1",
"eslint-config-prettier": "^4.1.0",
"eslint-loader": "^2.1.2",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-react": "^7.12.4",
"express": "^4.16.4",
"file-loader": "^3.0.1",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.1.0",
"morgan": "^1.9.1",
"node-sass": "^4.11.0",
"prettier": "1.14.3",
"prop-types": "^15.7.2",
"react": "^16.8.3",
"react-dom": "^16.8.3",
"react-hot-loader": "^4.7.1",
"rimraf": "^2.6.3",
"sass-loader": "^7.1.0",
"style-loader": "^0.21.0",
"ts-jest": "^24.0.0",
"tslint": "^5.13.0",
"tslint-config-prettier": "^1.18.0",
"tslint-eslint-rules": "^5.4.0",
"typescript": "^3.3.3333",
"webpack": "^4.29.5",
"webpack-cli": "^3.2.3",
"webpack-dev-middleware": "^3.6.0",
"webpack-hot-middleware": "^2.24.3",
"webpack-merge": "^4.2.1"
},
"peerDependencies": {
"react": "^16.6.0",
"react-dom": "^16.6.0",
"prop-types": "^15.6.2"
},
"dependencies": {},
"jest": {
"testEnvironment": "node",
"roots": [
"src/"
],
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"moduleDirectories": [
"node_modules",
"./"
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
},
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.json"
}
},
"testMatch": [
"**/__tests__/*.+(ts|tsx|js)"
]
}
}