-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·34 lines (34 loc) · 2.66 KB
/
package.json
File metadata and controls
executable file
·34 lines (34 loc) · 2.66 KB
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
{
"name": "restfuncs-development",
"description": "Tests and build/publish scripts",
"type": "module",
"scripts": {
"dev:fastbuild": "npm run --prefix transformer clean && npm run --prefix common dev:fastbuild && npm run --prefix client dev:fastbuild && npm run --prefix server dev:fastbuild && npm run --prefix tests/clientServer dev:fastbuild",
"tests": "npm run dev:fastbuild && jest --runInBand",
"tests:watch": "nodemon -e ts --exec npm run tests",
"tests:runSpecificTest": "clear && npm run dev:fastbuild && jest --runInBand --testNamePattern=\"^callback-handle is cleaned up\"",
"tests:memoryLeakTests": "clear && npm run dev:fastbuild && ulimit -d 500000 && node --expose-gc node_modules/jest/bin/jest --runInBand --testPathIgnorePatterns=\".*\\.ts\" --testPathPattern=\".*memoryLeak.*\"",
"dev:playground": "tsx devPlayground.ts",
"clean": "npm run --prefix transformer clean && npm run --prefix common clean && npm run --prefix client clean && npm run --prefix server clean && npm run --prefix tests/clientServer clean",
"build": "npm run --prefix common build && npm run --prefix transformer build && npm run --prefix client build && npm run --prefix server build",
"install": "npm install --ignore-scripts && echo \"<-- FIX: When npm install is typed from under the examples dir in a fresh cloned repo, it only wants to install its own packages (but still this prepublish script is triggerd, strangely) - so we force it to install the packages from all workspaces\"",
"prepublish": "npm run clean && npm run build && ncp LICENSE transformer/LICENSE && ncp LICENSE common/LICENSE && ncp LICENSE client/LICENSE && ncp LICENSE server/LICENSE && ncp readme.md common/readme.md && ncp readme.md client/readme.md && ncp readme.md server/readme.md",
"publish:npmlogin": "npm login",
"publish:publish": "npm run prepublish && npm publish --workspace transformer --workspace common --workspace server --workspace client --workspace restfuncs-metapackage"
},
"workspaces": ["transformer", "common", "server", "client", "restfuncs-metapackage", "examples/express-and-vite", "examples/express-and-vite-separate/server", "examples/express-and-vite-separate/client", "examples/express-and-vite-with-authentication", "tests/clientServer","tests/crossSiteSecurity", "tests/session-playground"],
"dependencies": {
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"ts-jest": "^29.0.3",
"@types/jest": "^29.2.2",
"restfuncs-transformer": ">=1",
"rimraf": "=5.0.5",
"ncp": "=2.0.0"
},
"keywords": [],
"author": "Boris Gingold <bogeee@bogitech.de>",
"license": "MIT",
"repository": "https://github.com/bogeeee/restfuncs.git"
}