-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
60 lines (60 loc) · 1.81 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
{
"name": "@chialab/loock",
"version": "4.2.0",
"description": "Refined keyboard navigation for websites and components.",
"type": "module",
"main": "dist/loock.cjs",
"module": "dist/loock.js",
"types": "types/index.d.ts",
"exports": {
"types": "./types/index.d.ts",
"require": "./dist/loock.cjs",
"default": "./dist/loock.js"
},
"files": [
"dist",
"types",
"package.json",
"README.md",
"LICENSE"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chialab/loock"
},
"bugs": {
"url": "https://github.com/chialab/loock/issues"
},
"homepage": "https://github.com/chialab/loock",
"author": "Chialab <[email protected]> (https://www.chialab.it)",
"scripts": {
"dev": "vite",
"build": "rimraf 'dist' 'types' && yarn types && yarn build:esm && yarn build:cjs",
"build:esm": "esbuild src/index.ts --outfile=dist/loock.js --format=esm --bundle --sourcemap",
"build:cjs": "esbuild src/index.ts --outfile=dist/loock.cjs --format=cjs --bundle --sourcemap",
"types": "tsc --declaration --emitDeclarationOnly --declarationDir 'types' --incremental false",
"test": "playwright test",
"lint": "prettier --check . && eslint src",
"typecheck": "tsc --noEmit",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs",
"prepack": "yarn build"
},
"devDependencies": {
"@changesets/cli": "^2.24.1",
"@chialab/eslint-config": "^4.0.0",
"@chialab/prettier-config": "^1.2.2",
"@playwright/test": "^1.39.0",
"esbuild": "^0.20.0",
"eslint": "^8.0.0",
"playwright": "^1.39.0",
"prettier": "^3.0.3",
"publint": "^0.2.5",
"rimraf": "^5.0.0",
"typescript": "^5.0.0",
"vite": "^5.0.0",
"vitepress": "^1.0.0"
}
}