forked from plasmicapp/plasmic
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 4.98 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 4.98 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "plasmic-monorepo",
"private": true,
"scripts": {
"prepare": "husky",
"bootstrap": "bash scripts/bootstrap.sh",
"bootstrap:platform": "pnpm db:setup ; pnpm setup-all ; pnpm db:reset ; pnpm setup-all",
"bump": "echo 'Use the jenkins job release_public_packages instead: https://jenkins.aws.plasmic.app/job/release_public_packages/'",
"check-devcontainer": "if [ -f /.dockerenv ] || [ -f /run/.containerenv ]; then exit 0; else echo 'Must be run in a devcontainer, see .devcontainer/README.md'; exit 1; fi",
"check-no-fs": "for f in ~/.plasmic/secrets.json ~/.ssh/id_*; do [ -r \"$f\" ] && { echo \"I can see $f. EXITING\"; exit 1; } || true; done",
"check-no-network": "if ! curl -s --max-time 5 https://example1.com >/dev/null 2>&1; then exit 0; else echo 'I have general network access. EXITING'; exit 1; fi",
"claude": "pnpm check-devcontainer && pnpm check-no-fs && pnpm check-no-network && claude --dangerously-skip-permissions --mcp-config=.claude/.mcp.json",
"claude-safehouse": "pnpm check-no-fs && claude --dangerously-skip-permissions --mcp-config=.claude/.mcp.json",
"codex": "pnpm check-devcontainer && pnpm check-no-fs && pnpm check-no-network && codex --full-auto",
"codex-safehouse": "pnpm check-no-fs && codex --full-auto",
"db:reset": "cd platform/wab && yarn db:reset",
"db:setup": "cd platform/wab && yarn db:setup",
"deps": "lerna list --include-dependencies --scope",
"dev": "cd platform/wab && yarn dev",
"dev:reset": "pnpm setup && pnpm db:reset && pnpm dev",
"format": "prettier --write",
"lint": "eslint --fix",
"knip:deps": "NODE_ENV=test NODE_OPTIONS=\"--max-old-space-size=10000\" knip --include dependencies",
"local-canary": "pnpm local-unpublish && lerna publish --canary --yes --include-merged-tags --no-git-tag-version --no-push --registry=http://localhost:4873 --force-publish",
"local-publish": "./scripts/local-publish.sh",
"local-unpublish": "lerna exec -- npm unpublish -f --registry=\"http://localhost:4873/\" \"\\${LERNA_PACKAGE_NAME}\"",
"make": "cd platform/wab && make",
"release": "echo 'Use the jenkins job release_public_packages instead: https://jenkins.aws.plasmic.app/job/release_public_packages/'",
"setup": "pnpm install && pnpm setup:wab && pnpm setup:sub && pnpm setup:react-web-bundle && pnpm setup:live-frame && pnpm setup:loader-bundle-env && pnpm setup:loader-html-hydrate && pnpm make",
"setup-all": "pnpm setup && pnpm setup:canvas-packages && cd platform/wab && yarn typeorm migration:run && yarn migrate-dev-bundles && yarn plume:dev update",
"setup:canvas-packages": "cd platform/canvas-packages && for d in internal_pkgs/*; do if [ -d \"$d\" ]; then cd $d && yarn && cd -; fi done && yarn && yarn build",
"setup:live-frame": "cd platform/live-frame && yarn && yarn build",
"setup:loader-bundle-env": "cd platform/loader-bundle-env && yarn",
"setup:loader-html-hydrate": "cd platform/loader-html-hydrate && yarn && yarn build && cp build/* ../wab/public/static/js/",
"setup:react-web-bundle": "cd platform/react-web-bundle && yarn && yarn build",
"setup:sub": "cd platform/sub && yarn && yarn build",
"setup:wab": "cd platform/wab && yarn",
"test": "jest $TEST_CWD",
"test:types": "tstyche $TEST_CWD",
"typecheck": "cd platform/wab && yarn ts-watch",
"upgrade-internal": "bash scripts/upgrade-internal.bash",
"msw:update": "msw init ./msw --save=false"
},
"packageManager": "pnpm@11.8.0",
"devDependencies": {
"@microsoft/api-extractor": "7.38.2",
"@testing-library/react": "16.2.0",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"esbuild": "0.27.7",
"esbuild-register": "^3.4.2",
"eslint": "^8.55.0",
"eslint-config-prettier": "9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-no-relative-import-paths": "1.5.4",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "9.1.7",
"if-env": "^1.0.4",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"knip": "5.64.1",
"lint-staged": "16.1.4",
"lerna": "9.0.3",
"msw": "2.7.3",
"msw-storybook-addon": "2.0.4",
"nx": "22.3.3",
"prettier": "2.8.8",
"prettier-plugin-organize-imports": "^4.2.0",
"tsconfig-paths": "^4.2.0",
"tstyche": "^4.3.0",
"tsx": "^4.21.0",
"typescript": "5.2.2",
"size-limit": "^11.2.0",
"@size-limit/preset-small-lib": "^11.2.0",
"storybook": "8.5.5",
"storybook-addon-mock": "5.0.0",
"@storybook/addon-essentials": "8.5.5",
"@storybook/addon-interactions": "8.5.5",
"@storybook/addon-links": "8.5.5",
"@storybook/addon-webpack5-compiler-swc": "2.1.0",
"@storybook/react": "8.5.5",
"@storybook/react-webpack5": "8.5.5",
"@storybook/test": "8.5.5",
"@storybook/test-runner": "0.21.0",
"@storybook/testing-library": "0.2.2"
}
}