-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.34 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
{
"name": "@lyrasearch/components",
"version": "0.0.5",
"type": "module",
"description": "Components for Lyra",
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./wasm": {
"types": "./dist/wasm.d.ts",
"require": "./dist/wasm.js"
}
},
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "https://github.com/lyrasearch/components"
},
"bugs": {
"url": "https://github.com/lyrasearch/components"
},
"scripts": {
"predev": "rm -rf dist && mkdir dist",
"dev": "swc -s -w -d dist src",
"prebuild": "npm run lint",
"build": "swc --delete-dir-on-start -d dist src",
"build:wasm": "node ./rust/scripts/wasm.mjs",
"postbuild": "npm run build:wasm && tsc -p . --emitDeclarationOnly",
"format": "prettier -w src rust/scripts",
"lint": "eslint src rust/scripts --ext .ts,.mjs",
"test": "c8 -c tests/config/c8-local.json tap --rcfile=tests/config/tap.yml tests/*.test.ts",
"test:ci": "c8 -c tests/config/c8-ci.json tap --rcfile=tests/config/tap.yml --no-color tests/*.test.ts",
"ci": "npm run build && npm run test:ci",
"commit": "pnpm lint-staged && cz"
},
"author": {
"name": "Paolo Insogna",
"email": "shogun@cowtech.it",
"url": "http://cowtech.it"
},
"contributors": [
{
"name": "Michele Riva",
"email": "ciao@micheleriva.it",
"url": "https://github.com/MicheleRiva",
"author": true
}
],
"license": "Apache-2.0",
"lint-staged": {
"*": "pnpm lint"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"devDependencies": {
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.22",
"@types/node": "^18.11.15",
"@types/tap": "^15.0.7",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"auto-changelog": "^2.4.0",
"c8": "^7.12.0",
"commitizen": "^4.2.6",
"eslint": "^8.29.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"rimraf": "^3.0.2",
"tap": "^16.3.2",
"tsx": "^3.12.1",
"typescript": "^4.9.4"
},
"engines": {
"node": ">= 16.0.0"
}
}