-
-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
99 lines (99 loc) · 3.04 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
{
"name": "enzyme-adapter-preact-pure",
"version": "4.1.0",
"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": {
"@babel/core": "^7.20.2",
"@types/babel__core": "^7.1.20",
"@types/chai": "^4.1.7",
"@types/cheerio": "^0.22.31",
"@types/enzyme": "^3.10.12",
"@types/minimist": "^1.2.0",
"@types/mocha": "^10.0.0",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.41.0",
"@typescript-eslint/parser": "^5.41.0",
"babel-plugin-transform-rename-properties": "^0.1.0",
"chai": "^4.3.4",
"enzyme": "^3.11.0",
"eslint": "^8.26.0",
"eslint-config-prettier": "^8.5.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",
"preact-render-to-string": "^5.2.6",
"prettier": "2.8.1",
"prop-types": "^15.8.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",
"postbuild": "node ./compat/scripts/transform-internal-properties.mjs",
"build-cjs": "tsc --build tsconfig-cjs.json",
"postbuild-cjs": "node ./compat/scripts/transform-internal-properties.mjs",
"clean": "rm -rf build build-cjs",
"checkformatting": "prettier --check \"**/*.{js,jsx,ts,tsx,mjs,cjs,yml}\"",
"format": "prettier --list-different --write \"**/*.{js,jsx,ts,tsx,mjs,cjs,yml}\"",
"lint": "eslint src/** test/** compat/src/** compat/test/**",
"lint:fix": "eslint src/** test/** compat/src/** compat/test/** --fix",
"lint-staged": "lint-staged",
"prepublish": "rm -rf build && yarn build && yarn build-cjs",
"pretest": "yarn build && echo '{\"type\":\"module\"}' > build/package.json",
"test": "nyc mocha -r build/test/init.js build/test/*.js && nyc mocha --recursive build/compat/test",
"posttest": "rm build/package.json",
"pretest-cjs": "yarn build-cjs",
"test-cjs": "nyc mocha -r build-cjs/test/init.js build-cjs/test/*.js && nyc mocha --recursive build-cjs/compat/test",
"test:compat": "yarn test --preact-compat-lib preact/compat",
"prepare": "husky install"
},
"files": [
"build/src/**/*",
"build/compat/src/**/*",
"build-cjs/src/**/*",
"build-cjs/compat/src/**/*",
"compat/package.json",
"index.d.ts"
],
"nyc": {
"cache": false,
"extension": [
".ts",
".tsx"
],
"exclude": [
"build/**",
"coverage/**",
"test/**",
".yalc/**"
],
"reporter": "html",
"all": true
},
"lint-staged": {
"**/*.{js,jsx,ts,tsx}": [
"eslint --fix"
],
"**/*.{js,jsx,ts,tsx,mjs,cjs,yml}": [
"prettier --write"
]
},
"volta": {
"node": "18.12.0"
}
}