-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
56 lines (56 loc) · 1.98 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
{
"name": "js-rest-api-clients",
"private": true,
"scripts": {
"prepare": "husky install",
"lint": "biome ci packages",
"format": "biome check generate packages --write --unsafe",
"test": "npm run lint && jest --maxConcurrency=5",
"test-next": "ACCOUNT_API_BASE_URL=http://account-api.lvh.me:3001 SITE_API_BASE_URL=http://site-api.lvh.me:3001 PUSHER_APP_KEY=12a5ddac68784be0fc59 PUSHER_CLUSTER=eu npm run test",
"generate": "./generate/index.ts && npm run format",
"generate-next": "GENERATE_FROM_DEV=true ./generate/index.ts && npm run format",
"build": "lerna run build",
"prepublishOnly": "npm run generate && ./generate/setClientVersion.ts && npm run build && npm run test",
"publish": "lerna publish",
"publish-next": "GENERATE_FROM_DEV=true ACCOUNT_API_BASE_URL=http://account-api.lvh.me:3001 SITE_API_BASE_URL=http://site-api.lvh.me:3001 PUSHER_APP_KEY=12a5ddac68784be0fc59 PUSHER_CLUSTER=eu lerna publish --dist-tag next"
},
"author": "Stefano Verna <[email protected]>",
"license": "MIT",
"devDependencies": {
"@apidevtools/json-schema-ref-parser": "^11.7.0",
"@biomejs/biome": "1.8.3",
"@total-typescript/ts-reset": "^0.5.1",
"@types/jest": "^29.5.6",
"@types/rimraf": "^3.0.2",
"@whatwg-node/fetch": "^0.9.14",
"concurrent-promise-queue": "^1.0.3",
"cross-fetch": "^3.1.5",
"dotenv": "^16.4.1",
"esbuild": "^0.14.34",
"handlebars": "^4.7.7",
"husky": "^8.0.2",
"hyperschema-to-ts": "^0.0.11",
"jest": "^29.7.0",
"lerna": "^4.0.0",
"lint-staged": "^13.1.0",
"rimraf": "^3.0.2",
"ts-jest": "^29.1.1",
"ts-node": "^10.7.0",
"typescript": "^4.6.3"
},
"homepage": "https://github.com/datocms/js-rest-api-clients",
"repository": {
"type": "git",
"url": "git://github.com/datocms/js-rest-api-clients.git"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
"biome ci"
]
}
}