-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.77 KB
/
package.json
File metadata and controls
60 lines (60 loc) · 1.77 KB
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": "@friendlycaptcha/server-sdk",
"version": "0.3.0",
"description": "Serverside client SDK for the Friendly Captcha V2 API",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "npm run build:tsc",
"build:dist": "rm -rf dist/ build/ && node scripts/updateVersion.mjs && npm run build:tsc && cp -r build/src/ dist/ && npm run build:apiextractor && npm run build:docs",
"build:tsc": "tsc",
"build:apiextractor": "api-extractor run --local --verbose",
"build:docs": "rm -rf build/docs && api-documenter markdown --output-folder docs --input temp/",
"test": "ava test/**/*.ts --timeout=1m",
"api-extractor": "api-extractor",
"fmt": "prettier src/**/*.ts test/**/*.ts example/**/*.ts package.json --write",
"fmt:ci": "prettier src/**/*.ts test/**/*.ts example/**/*.ts package.json --check"
},
"author": "Friendly Captcha GmbH",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/FriendlyCaptcha/friendly-captcha-javascript"
},
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@ava/typescript": "^6.0.0",
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@microsoft/api-documenter": "^7.29.6",
"@microsoft/api-extractor": "^7.57.6",
"@types/node": "^25.3.5",
"ava": "^7.0.0",
"esbuild": "^0.27.3",
"prettier": "^3.0.0",
"sync-request": "^6.1.0",
"typescript": "^5.9.3"
},
"ava": {
"files": [
"test/**/*"
],
"typescript": {
"rewritePaths": {
"src/": "build/src/",
"test/": "build/test/"
},
"compile": "tsc"
}
}
}