-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
90 lines (90 loc) · 2.68 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
{
"name": "react-zoomable-ui",
"description": "React library for building zoomable UI.",
"version": "0.11.0",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/aarondail/react-zoomable-ui.git"
},
"author": "Aaron Dail <[email protected]> (http://github.com/aarondail)",
"license": "MIT",
"bugs": {
"url": "https://github.com/aarondail/react-zoomable-ui/issues"
},
"homepage": "https://github.com/aarondail/react-zoomable-ui#readme",
"files": [
"dist",
"src"
],
"scripts": {
"clean": "rimraf dist && rimraf docs/example/",
"build": "tsc --build",
"build:w": "tsc --build --watch",
"test": "jest",
"test:w": "jest --watch",
"prettier": "prettier --write 'src/**/*.{ts,tsx}'",
"tslint": "tslint --project ./tsconfig.tslint.json --fix",
"quasiapidocs": "rm -rf docs/api && typedoc --out docs/api --mode file --external-aliases external,internalapi --excludeExternals --excludeNotExported --excludePrivate --excludeProtected --hideProjectTitle --hideBreadcrumbs --hideSources && rm docs/api/README.md",
"prerelease": "npm run clean && npm run build && npm run test && npm run tslint && pushd example/ && rm -rf node_modules/react-zoomable-ui && npm install && npm run build && popd && cp -r example/build/ docs/example/"
},
"dependencies": {
"hammerjs": "^2.0.8",
"ts-invariant": "^0.10.3"
},
"peerDependencies": {
"react": "*"
},
"devDependencies": {
"@types/hammerjs": "^2.0.41",
"@types/jest": "^29.0.3",
"@types/react": "^18.0.20",
"husky": "^8.0.1",
"jest": "^29.0.3",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"react": "^18.2.0",
"rimraf": "^3.0.2",
"ts-jest": "^29.0.1",
"tslint": "^5.20.1",
"tslint-config-prettier": "^1.18.0",
"typedoc": "^0.23.15",
"typedoc-plugin-internal-external": "^2.2.0",
"typedoc-plugin-markdown": "^3.13.6",
"typedoc-plugin-no-inherit": "^1.4.0",
"typescript": "^4.8.3"
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
],
"src/*.{ts,tsx}": [
"prettier --write",
"tslint --project ./tsconfig.tslint.json --fix",
"git add",
"jest --bail --findRelatedTests"
],
"tests/*.{ts,tsx}": [
"prettier --write",
"tslint --project ./tsconfig.tslint.json --fix",
"git add",
"jest --bail --findRelatedTests"
],
"example/*.{ts,tsx}": [
"prettier --write",
"git add"
]
}
}