-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.63 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
{
"name": "calculator-widget",
"version": "0.1.0",
"license": "Apache-2.0",
"private": true,
"dependencies": {
"@floating-ui/react-dom": "^2.0.6",
"@headlessui/react": "^1.7.18",
"@lit-labs/task": "^2.0.0",
"@shoelace-style/shoelace": "^2.12.0",
"autonumeric": "^4.8.1",
"clsx": "^2.1.0",
"lit": "^2.6.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"scroll-into-view-if-needed": "^3.1.0"
},
"scripts": {
"build:widget": "parcel build --target default",
"serve:widget": "parcel serve ./src/*.html --dist-dir build",
"cypress:open": "cypress open",
"cypress:run": "cypress run",
"lint": "tsc --noEmit && prettier --check . && eslint .",
"prepare": "husky install",
"strings:extract": "lit-localize extract",
"strings:build": "lit-localize build && rexreplace '@lit/localize' '../str' src/i18n/strings/*.ts && prettier --write src/i18n",
"test": "jest"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@headlessui/tailwindcss": "^0.2.0",
"@lit/localize-tools": "^0.7.1",
"@parcel/transformer-inline-string": "2.10.2",
"@parcel/transformer-svg-react": "2.10.2",
"@swc/helpers": "^0.4.14",
"@types/react": "^18.2.46",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"@xmldom/xmldom": "^0.8.2",
"axe-core": "^4.8.2",
"commander": "^11.1.0",
"csv": "^6.3.5",
"cypress": "^12.6.0",
"cypress-axe": "^1.5.0",
"eslint": "^8.45.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"parcel": "^2.10.2",
"postcss": "^8.4.21",
"posthtml": "^0.16.6",
"posthtml-expressions": "^1.11.1",
"prettier": "^2.8.8",
"prettier-plugin-organize-imports": "^3.2.4",
"process": "^0.11.10",
"rexreplace": "^7.1.3",
"tailwindcss": "^3.3.6",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"main": "dist/calculator.js",
"targets": {
"module": false,
"default": {
"source": [
"src/calculator.tsx",
"src/state-calculator.tsx",
"src/rewiring-fonts.css",
"src/ira-calculator.html",
"src/index.html"
],
"outputFormat": "global",
"context": "browser",
"distDir": "./dist",
"sourceMap": false,
"publicUrl": "./"
}
},
"lint-staged": {
"**/*.{js,ts,tsx,json,md,css,html}": "prettier --write"
}
}