-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.1 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.1 KB
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
{
"name": "enzyme-adapter-preact-pure",
"version": "4.0.1",
"description": "Enzyme adapter for Preact",
"main": "build-cjs/src/index.js",
"module": "build/src/index.js",
"repository": "https://github.com/preactjs/enzyme-adapter-preact-pure",
"author": "Robert Knight",
"license": "MIT",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/cheerio": "^0.22.31",
"@types/enzyme": "^3.10.12",
"@types/minimist": "^1.2.0",
"@types/mocha": "^9.0.0",
"@types/sinon": "^10.0.6",
"chai": "^4.3.4",
"enzyme": "^3.11.0",
"husky": "^8.0.1",
"jsdom": "^20.0.0",
"lint-staged": "^13.0.3",
"minimist": "^1.2.0",
"mocha": "^10.0.0",
"nyc": "^15.1.0",
"preact": "^10.7.1",
"prettier": "2.7.1",
"sinon": "^14.0.0",
"source-map-support": "^0.5.12",
"typescript": "^4.6.3",
"yalc": "^1.0.0-pre.34"
},
"peerDependencies": {
"enzyme": "^3.11.0",
"preact": "^10.0.0"
},
"scripts": {
"build": "tsc --build tsconfig.json",
"build-cjs": "tsc --build tsconfig-cjs.json",
"clean": "rm -rf build build-cjs",
"checkformatting": "prettier --check \"**/*.{js,jsx,ts,tsx,yml}\"",
"format": "prettier --list-different --write \"**/*.{js,jsx,ts,tsx,yml}\"",
"lint-staged": "lint-staged",
"prepublish": "rm -rf build && yarn build && yarn build-cjs",
"test": "yarn build && echo '{\"type\":\"module\"}' > build/package.json && nyc mocha -r build/test/init.js build/test/*.js && rm build/package.json",
"test-cjs": "yarn build-cjs && nyc mocha -r build-cjs/test/init.js build-cjs/test/*.js",
"test:compat": "yarn test --preact-compat-lib preact/compat",
"prepare": "husky install"
},
"files": [
"build/src/**/*",
"build-cjs/src/**/*",
"index.d.ts"
],
"nyc": {
"cache": false,
"extension": [
".ts",
".tsx"
],
"exclude": [
"build/**",
"coverage/**",
"test/**",
".yalc/**"
],
"reporter": "html",
"all": true
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx,yml}": [
"prettier --write"
]
},
"volta": {
"node": "18.12.0"
}
}