-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
45 lines (45 loc) · 1.46 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
{
"name": "@friendlycaptcha/server-sdk",
"version": "0.1.2",
"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",
"devDependencies": {
"@ava/typescript": "^3.0.1",
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@microsoft/api-documenter": "^7.22.27",
"@microsoft/api-extractor": "^7.36.2",
"ava": "^4.3.1",
"esbuild": "^0.16.9",
"prettier": "^3.0.0",
"sync-request": "^6.1.0",
"typescript": "^4.7.4"
},
"ava": {
"files": [
"test/**/*"
],
"typescript": {
"rewritePaths": {
"src/": "build/src/",
"test/": "build/test/"
},
"compile": "tsc"
}
}
}