forked from opensource-observer/oso
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 2.11 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
{
"name": "oso",
"description": "Impact measurement for open source software",
"version": "0.0.0",
"author": "Kariba Labs",
"license": "Apache-2.0",
"private": true,
"repository": {
"type": "git",
"url": "git+https://github.com/opensource-observer/oso.git"
},
"scripts": {
"build": "turbo run build --concurrency=100%",
"build:cloudquery": "turbo run build --filter=@opensource-observer/cloudquery-*",
"build:ops": "turbo run build --filter=@opensource-observer/ops-*",
"build:docs": "turbo run build --filter=@opensource-observer/docs",
"build:frontend": "turbo run build --filter=@opensource-observer/frontend",
"build:hasura": "turbo run build --filter=@opensource-observer/hasura",
"copy": "yarn copy:frontend && yarn copy:docs && yarn copy:html",
"copy:docs": "mkdir -p ./build/docs/ && cp -r ./apps/docs/build/* ./build/docs/",
"copy:frontend": "mkdir -p ./build/ && cp -r ./apps/frontend/out/* ./build/ && cp ./apps/frontend/_redirects ./build/",
"copy:html": "find build/ -name '*.html' -type f | grep -v index.html | sed s/\\.html$// | xargs -I _ bash -c 'mkdir -p _ && cp -v _.html _/index.html'",
"deploy:hasura": "turbo run deploy --filter=@opensource-observer/hasura --parallel",
"deploy:site": "turbo run build --filter=@opensource-observer/docs --filter=@opensource-observer/frontend && turbo run deploy --filter=@opensource-observer/frontend && yarn copy",
"dev:docs": "turbo run dev --filter=@opensource-observer/docs --parallel",
"dev:frontend": "turbo run dev --filter=@opensource-observer/frontend --parallel",
"format:staged": "lint-staged",
"lint": "turbo run lint --concurrency=100%",
"serve": "yarn serve build",
"test": "turbo run test --concurrency=1",
"test:integration": "(docker compose -f docker/compose.yaml down || true) && docker compose -f docker/compose.yaml run --rm test",
"prepare": "husky install"
},
"devDependencies": {
"eslint": "^8",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.2.4",
"turbo": "^1.11.3"
},
"engines": {
"node": ">=18.x",
"pnpm": ">=8"
}
}