generated from fingerprintjs/library-template-typescript
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
71 lines (71 loc) · 2.6 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
{
"name": "@fingerprintjs/fingerprint-pro-segment-source-function",
"version": "1.0.1",
"description": "Fingerprint Pro Segment Source Function",
"author": "FingerprintJS, Inc (https://fingerprint.com)",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/fingerprintjs/fingerprint-pro-segment-source-function.git"
},
"scripts": {
"prepare": "husky install",
"build": "rimraf dist && rollup -c rollup.config.js --bundleConfigAsCjs",
"lint": "eslint --ext .js,.ts --ignore-path .gitignore --max-warnings 0 .",
"lint:fix": "pnpm lint --fix",
"test": "jest",
"test:dts": "echo \"No typedefinition\"; exit 0",
"test:coverage": "jest --coverage",
"docs": "typedoc src/index.ts --out docs",
"generateTypes": "pnpm openapi-typescript https://fingerprintjs.github.io/fingerprint-pro-server-api-openapi/schemas/fingerprint-server-api.yaml --output ./src/types/fingerprint/webhook/generatedApiTypes.ts && pnpm prettier --write ./src/types/fingerprint/webhook/generatedApiTypes.ts",
"test:e2e": "npx playwright test",
"test:e2e-local": "set -o allexport && source .env && set +o allexport && pnpm test:e2e"
},
"main": "dist/fingerprint-pro-segment-source-function.js",
"sideEffects": false,
"files": [
"dist"
],
"eslintConfig": {
"extends": "react-app"
},
"lint-staged": {
"*.{js,ts}": "pnpm run lint:fix"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@fingerprintjs/commit-lint-dx-team": "^0.0.2",
"@fingerprintjs/conventional-changelog-dx-team": "^0.1.0",
"@fingerprintjs/eslint-config-dx-team": "^0.1.0",
"@fingerprintjs/prettier-config-dx-team": "^0.1.0",
"@fingerprintjs/tsconfig-dx-team": "^0.0.2",
"@playwright/test": "^1.42.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-typescript": "^11.1.6",
"@segment/public-api-sdk-typescript": "47.0.0-b8398",
"@types/jest": "^29.5.12",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"commitizen": "^4.3.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.4.5",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.2.2",
"openapi-typescript": "^6.7.5",
"rimraf": "^5.0.5",
"rollup": "^4.13.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-license": "^3.3.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"ts-jest": "^29.1.2",
"typedoc": "^0.25.12",
"typescript": "^5.4.3"
}
}