-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.18 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
{
"name": "@friendlycaptcha/sdk",
"version": "0.1.14",
"description": "In-browser SDK for Friendly Captcha v2 (currently in preview only)",
"main": "dist/sdk.js",
"type": "module",
"private": true,
"scripts": {
"clean": "rm -rf dist build temp",
"build": "./build.sh",
"build:tsc": "rm -rf build/tsc && tsc",
"build:dist": "npm run build && npm run build:tsc && npm run build:dts && cp -r build/tsc/src/ dist/src && npm run build:apiextractor && npm run build:docs",
"build:dts": "tsc --emitDeclarationOnly --outDir build/dts",
"build:apiextractor": "rm -rf temp/ && mkdir -p temp && api-extractor run --local --verbose",
"build:docs": "rm -rf build/docs && api-documenter markdown --output-folder dist/docs/markdown --input-folder temp && node docudocs.mjs",
"watch": "nodemon --exec \"bash ./build.sh\" --watch src -e ts,css",
"test": "ava test/**/*.ts --timeout=1m",
"api-extractor": "api-extractor",
"license-check-and-add": "license-check-and-add",
"fmt": "prettier src/**/*.ts test/**/*.ts package.json babel.config.cjs --write",
"dist": "npm run clean && npm run build:dist && node prepublish.mjs && cd dist && npm publish",
"prepublishOnly": "echo \"Run npm run dist to build the package and publish it\" && exit 1"
},
"author": "Friendly Captcha GmbH",
"license": "MPL-2.0",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@ava/typescript": "^4.1.0",
"@babel/cli": "^7.19.3",
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@microsoft/api-documenter": "^7.23.13",
"@microsoft/api-extractor": "^7.38.4",
"ava": "^6.0.0",
"esbuild": "^0.19.8",
"idb-keyval": "^6.2.0",
"indexeddbshim": "^10.1.0",
"license-check-and-add": "^4.0.5",
"prettier": "^3.0.0",
"terser": "^5.15.0",
"typescript": "^5.3.2"
},
"files": [
"dist",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"ava": {
"files": [
"test/**/*",
"!test/setup.ts"
],
"typescript": {
"rewritePaths": {
"src/": "build/tsc/src/",
"test/": "build/tsc/test/"
},
"compile": "tsc"
}
}
}