-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
85 lines (85 loc) · 2.21 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
{
"name": "react-vaadin-components",
"version": "1.0.0-alpha.3",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tomivirkki/react-vaadin-components.git"
},
"main": "./dist/index.js",
"type": "module",
"scripts": {
"build": "rm -rf ./dist && tsc && npm run copy-css",
"copy-css": "cp -r ./src/css ./dist",
"generate": "node scripts/generate.js && npm run build",
"prepare": "husky install && npm run build",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"watch": "tsc --watch"
},
"files": [
"/dist"
],
"dependencies": {
"@lit-labs/react": "^1.0.6",
"@vaadin/vaadin-core": "23.2.0",
"react": "^18.1.0",
"react-dom": "^18.1.0"
},
"devDependencies": {
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.3.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"@web/dev-server": "^0.1.32",
"eslint": "^8.20.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"global-jsdom": "^8.4.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"jest-environment-jsdom": "^28.1.0",
"jsdom": "^19.0.0",
"lint-staged": "^13.0.3",
"prettier": "2.7.1",
"puppeteer": "^15.4.0",
"web-component-analyzer": "^2.0.0-next.4"
},
"types": "./dist/index.d.ts",
"jest": {
"testEnvironment": "jest-environment-jsdom",
"extensionsToTreatAsEsm": [
".tsx",
".ts"
],
"collectCoverage": true,
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleNameMapper": {
"(.+TestComponent)\\.js": "$1",
"(.+create-component)\\.js": "$1"
}
},
"lint-staged": {
"**/*.{js,ts,tsx}": [
"eslint --fix",
"prettier --write --ignore-unknown"
]
},
"workspaces": [
".",
"examples/*"
]
}