-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
77 lines (77 loc) · 2.18 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
{
"name": "@martel/ripple",
"version": "0.7.1",
"source": "src/ripple/index.ts",
"main": "./dist/ripple.umd.js",
"module": "./dist/ripple.module.mjs",
"exports": {
".": {
"import": "./dist/ripple.modern.mjs",
"require": "./dist/ripple.js"
},
"./worker": {
"import": "./dist/worker.modern.mjs",
"require": "./dist/worker.js"
}
},
"types": "./src/ripple/index.d.ts",
"files": [
"dist",
"src/ripple"
],
"scripts": {
"dev": "vite",
"build": "npm run build:types && npm run build:lib && npm run build:fix-types",
"build:types": "tsc",
"build:fix-types": "cp src/ripple/index.ts src/ripple/index.d.ts",
"build:lib": "microbundle ./index.ts ./worker.js --no-compress",
"preview": "vite preview",
"lint": "eslint --fix src",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,md}\"",
"clean": "rm -rf src/**/*.js",
"test": "web-test-runner \"src/**/*.spec.ts\" --node-resolve --playwright --browsers chromium",
"pretest": "npm run clean",
"test:watch": "web-test-runner \"src/**/*.spec.ts\" --node-resolve --playwright --browsers chromium --watch",
"prepare": "husky install",
"preversion": "npm run build"
},
"dependencies": {
"comlink": ">=4.3.1",
"haunted": ">=4.8.3",
"idb": ">=7.0.1"
},
"devDependencies": {
"@esm-bundle/chai": "^4.3.4-fix.0",
"@martel/haunted-router": "^0.4.0",
"@open-wc/testing": "^2.5.33",
"@types/node": "^17.0.25",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@web/dev-server-esbuild": "^0.2.14",
"@web/test-runner": "^0.13.18",
"@web/test-runner-playwright": "^0.8.9",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^7.0.4",
"jest": "26.0.1",
"lint-staged": "^12.4.0",
"lit-html": "^1.0.0",
"microbundle": "^0.15.1",
"prettier": "^2.6.2",
"typescript": "^4.5.4",
"vite": "^2.9.5",
"vite-plugin-pwa": "^0.12.0"
},
"lint-staged": {
"src/**/*.{js,ts,jsx,tsx}": [
"eslint --fix"
],
"*.{json,md}": [
"prettier --write"
]
},
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Edge versions"
]
}