-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
76 lines (76 loc) · 1.89 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
{
"name": "altcha-lib",
"version": "1.2.0",
"description": "A library for creating and verifying ALTCHA challenges for Node.js, Bun and Deno.",
"author": {
"name": "Daniel Regeci",
"url": "https://altcha.org"
},
"homepage": "https://altcha.org",
"repository": {
"type": "git",
"url": "https://github.com/altcha-org/altcha-lib"
},
"license": "MIT",
"keywords": [
"altcha",
"captcha",
"antispam",
"captcha alternative"
],
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"scripts": {
"build": "rimraf dist && rimraf cjs/dist && tsc -b tsconfig.build.json tsconfig.cjs.json",
"denoify": "rimraf deno_dist && denoify && find deno_dist/. -type f -exec sed -i '' -e 's/node:node:/node:/g' {} +",
"eslint": "eslint ./lib/**/*",
"format": "prettier --write './(lib|tests)/**/*'",
"test": "vitest --run",
"test:deno": "deno test --allow-read tests/deno.ts",
"prepare": "husky"
},
"files": [
"cjs",
"dist"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./cjs/dist/index.js",
"default": "./dist/index.js"
},
"./types": {
"types": "./dist/types.d.ts",
"import": "./dist/types.js"
},
"./worker": {
"types": "./dist/worker.d.ts",
"import": "./dist/worker.js",
"require": "./cjs/dist/worker.js",
"default": "./dist/worker.js"
}
},
"typesVersions": {
"*": {
"types": [
"./dist/types"
]
}
},
"devDependencies": {
"@types/node": "^20.16.3",
"@typescript-eslint/eslint-plugin": "^8.4.0",
"denoify": "^1.6.13",
"eslint": "^8.57.0",
"husky": "^9.1.5",
"prettier": "^3.3.3",
"rimraf": "^5.0.10",
"ts-node": "^10.9.2",
"tsx": "^4.19.0",
"typescript": "^5.5.4",
"vitest": "^1.6.0"
}
}