-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
62 lines (62 loc) · 1.54 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
{
"name": "react-showof",
"description": "React (Un)Mount transitions",
"author": "Porfirio Ribeiro<porfirioribeiro@gmail.com>",
"repository": "https://github.com/porfirioribeiro/react-showof",
"license": "MIT",
"version": "0.2.0-alpha",
"main": "dist/showof.js",
"module": "dist/showof.modern.js",
"umd:main": "dist/showof.umd.js",
"source": "src/index.tsx",
"types": "dist/index.d.ts",
"files": [
"dist",
"preact"
],
"scripts": {
"test": "jest",
"build": "yarn build:react && yarn build:preact",
"build:react": "microbundle -f modern,cjs,umd",
"build:preact": "microbundle -f modern,cjs,umd -o preact --alias ./imports/react=./imports/preact --globals preact/hooks=preactHooks,preact/compat=preactCompat"
},
"peerDependencies": {
"preact": ">=10",
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"prettier": {
"printWidth": 100,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"devDependencies": {
"@types/jest": "^26.0.14",
"@types/react": "^16.9.50",
"@types/react-dom": "^16.9.8",
"husky": "^4.3.0",
"jest": "^26.4.2",
"microbundle": "0.12.4",
"preact": "^10.5.3",
"prettier": "^2.1.2",
"pretty-quick": "^3.0.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"ts-jest": "^26.4.1",
"tslib": "^2.0.1",
"typescript": "^4.0.3"
},
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testMatch": [
"**/*.test.+(ts|tsx|js)"
]
}
}