-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
49 lines (49 loc) · 2.21 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
{
"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:dbt:docs": "poetry run dbt docs generate",
"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/hasura2",
"build:ops": "turbo run build --filter=@opensource-observer/ops-*",
"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/hasura2 --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",
"pyright": "pyright --pythonpath $(poetry env info --path)/bin/python",
"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.57.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.7",
"prettier": "^3.3.2",
"turbo": "^1.13.4"
},
"engines": {
"node": ">=18.x",
"pnpm": ">=8"
},
"dependencies": {
"pyright": "^1.1.378"
}
}