-
-
Notifications
You must be signed in to change notification settings - Fork 137
/
package.json
50 lines (50 loc) · 1.72 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
{
"name": "simplewebauthn-monorepo",
"version": "0.0.0",
"private": true,
"scripts": {
"bootstrap-monorepo": "./bootstrap.sh",
"clean": "rm -rf ./packages/**/node_modules && rm -rf ./packages/**/dist && rm -rf ./packages/**/npm",
"lint": "deno lint packages/**/src/**/*.ts example/**/*.ts",
"test": "pnpm run test:browser; pnpm run test:server",
"test:browser": "lerna run test --scope=@simplewebauthn/browser",
"test:server": "lerna run test --scope=@simplewebauthn/server",
"build:types": "lerna run build --scope=@simplewebauthn/types",
"build:browser": "lerna run build --scope=@simplewebauthn/browser",
"build:server": "lerna run build --scope=@simplewebauthn/server",
"update-version": "lerna version --no-push",
"publish:types": "pnpm run build:types && (cd packages/types/npm; pnpm publish)",
"publish:browser": "pnpm run build:browser && (cd packages/browser; pnpm publish)",
"publish:server": "pnpm run build:server && (cd packages/server/npm; pnpm publish)",
"dev:browser": "lerna run test:watch --scope=@simplewebauthn/browser",
"dev:server": "lerna run test:watch --scope=@simplewebauthn/server"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^20.0.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^8.1.9",
"lint-staged": "^15.2.10",
"nodemon": "^3.1.7",
"nx": "^20.0.8",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"ts-morph": "^24.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.6.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,js}": [
"deno lint",
"deno fmt",
"git add"
]
}
}