-
Notifications
You must be signed in to change notification settings - Fork 39
/
Copy pathpackage.json
144 lines (144 loc) · 3.98 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "@testing-library/preact",
"version": "0.0.0-semantically-released",
"description": "Simple and complete Preact DOM testing utilities that encourage good testing practices.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"browser": "./dist/esm/index.mjs",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js"
},
"./pure": {
"types": "./pure.d.ts",
"browser": "./dist/esm/pure.mjs",
"import": "./dist/esm/pure.mjs",
"require": "./dist/cjs/pure.js"
}
},
"license": "MIT",
"author": "Rahim Alwer <[email protected]>",
"homepage": "https://github.com/testing-library/preact-testing-library#readme",
"repository": {
"type": "git",
"url": "https://github.com/testing-library/preact-testing-library"
},
"bugs": {
"url": "https://github.com/testing-library/preact-testing-library/issues"
},
"engines": {
"node": ">= 12"
},
"keywords": [
"testing",
"preact",
"ui",
"dom",
"jsdom",
"unit",
"integration",
"functional",
"end-to-end",
"e2e"
],
"files": [
"dist",
"dont-cleanup-after-each.js",
"pure.js",
"types/index.d.ts",
"pure.d.ts"
],
"scripts": {
"toc": "doctoc README.md",
"lint": "eslint src/**/*.js --fix",
"clean": "rimraf dist",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "babel src --out-dir dist/cjs --config-file ./.babelrc --ignore '**/__tests__/**,**/__mocks__/**'",
"build:esm": "babel src --no-babelrc --out-file-extension .mjs --out-dir dist/esm --config-file ./.babelrc.esm.json --ignore '**/__tests__/**,**/__mocks__/**'",
"test": "jest src/__tests__ ",
"test:watch": "npm test --watch",
"test:update": "npm test --updateSnapshot --coverage",
"setup": "npm install && npm run validate",
"validate": "npm run lint && npm test && npm run clean && npm run build",
"contributors:add": "all-contributors add",
"contributors:generate": "all-contributors generate"
},
"dependencies": {
"@testing-library/dom": "^8.11.1"
},
"devDependencies": {
"@babel/cli": "^7.5.5",
"@babel/core": "^7.5.5",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/plugin-transform-modules-commonjs": "^7.6.0",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.5.5",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@testing-library/jest-dom": "^5.16.1",
"@types/jest": "^26.0.0",
"all-contributors-cli": "^6.9.0",
"babel-eslint": "^10.0.3",
"babel-jest": "^26.0.1",
"doctoc": "^1.4.0",
"eslint": "^7.3.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react-hooks": "^4.0.4",
"eslint-plugin-simple-import-sort": "^5.0.3",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"jest": "^27.0.6",
"jest-watch-typeahead": "^0.6.0",
"lint-staged": "^10.2.11",
"preact": "^10.0.0-rc.1",
"preact-portal": "^1.1.3",
"prettier": "^2.0.5",
"rimraf": "^3.0.0"
},
"peerDependencies": {
"preact": ">=10 || ^10.0.0-alpha.0 || ^10.0.0-beta.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"README.md": [
"npm run toc",
"prettier --parser markdown --write",
"git add"
],
".all-contributorsrc": [
"npm run contributors:generate",
"git add"
],
"**/*.js": [
"npm run lint",
"npm test",
"git add"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"jest": {
"testEnvironment": "jsdom",
"watchPlugins": [
"typeahead/filename",
"typeahead/testname"
]
},
"publishConfig": {
"access": "public"
}
}