-
-
Notifications
You must be signed in to change notification settings - Fork 247
Expand file tree
/
Copy pathpackage.json
More file actions
175 lines (175 loc) · 7.01 KB
/
package.json
File metadata and controls
175 lines (175 loc) · 7.01 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "livecodes",
"version": "0.0.0",
"appVersion": "49",
"description": "A Code Playground That Just Works!",
"author": "Hatem Hosny",
"license": "MIT",
"keywords": [],
"private": true,
"repository": {
"url": "https://github.com/live-codes/livecodes"
},
"scripts": {
"start": "run-p copy:assets watch serve",
"docs": "cd docs && npm run start",
"storybook": "run-p storybook:*",
"serve": "run-p serve:*",
"serve:app": "live-server build --watch=build/tmp/ --cors --quiet",
"serve:sandbox": "live-server src/livecodes/html/sandbox/ --port=8085 --cors --quiet --no-browser",
"watch": "nodemon --watch src -e \"*\" --ignore src/livecodes/i18n/locale-paths.ts ./scripts/build.js --dev",
"prebuild": "npm run i18n-exclude pre",
"postbuild": "npm run i18n-exclude post",
"build": "run-s build:*",
"build:app": "run-s clean copy:* && node ./scripts/build.js",
"build:docs": "cd docs && npm run build",
"build:storybook": "node ./scripts/generate-stories.mts && cd storybook && npm run build",
"copy:assets": "recursive-delete build/livecodes/assets && mkdirp build/livecodes/assets && recursive-copy src/livecodes/assets build/livecodes/assets",
"storybook:watch": "nodemon --watch storybook/_stories -e \"*\" ./scripts/generate-stories.mts",
"storybook:serve": "cd storybook/react && npm run storybook",
"typedocs": "run-s typedocs:*",
"typedocs:livecodes": "typedoc src/livecodes/main.ts src/livecodes/app.ts src/livecodes/embed.ts src/livecodes/_modules.ts --out build/typedocs/livecodes --exclude **/*.spec.ts --excludeExternals",
"typedocs:sdk": "typedoc src/sdk/livecodes.ts --out build/typedocs/sdk --exclude **/*.spec.ts --excludeExternals",
"predeploy": "cross-env BASE_URL=\"/livecodes/\" npm run build",
"predeploy:no-docs": "cross-env DOCS_BASE_URL=null npm run build:app",
"deploy": "gh-pages -m \"[ci skip] Updates\" -d build --nojekyll",
"fix": "run-s fix:*",
"fix:i18n-export": "npm run i18n-export",
"fix:prettier": "prettier src --write",
"fix:eslint": "eslint --fix",
"fix:stylelint": "stylelint --fix \"src/livecodes/styles/*\"",
"fix:stylelint-docs": "stylelint --fix \"docs/**/*.{css,scss}\"",
"test": "run-s test:*",
"test:i18n-export": "node ./scripts/test-i18n-export.js",
"test:i18n-exclude": "node ./scripts/test-i18n-exclude.js",
"test:typecheck": "run-p typecheck:*",
"test:lint": "run-s lint:*",
"test:unit": "jest src",
"test:broken-links": "node ./scripts/test-filenames.js",
"typecheck:app": "tsc --noEmit",
"typecheck:docs": "cd docs && npm run typecheck",
"typecheck:storybook": "cd storybook && npm run typecheck",
"lint:prettier": "prettier src --list-different",
"lint:eslint": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" eslint",
"lint:stylelint": "stylelint \"src/livecodes/styles/*\"",
"lint:stylelint-docs": "stylelint \"docs/**/*.{css,scss}\"",
"e2e": "playwright test",
"ci:e2e": "playwright install && playwright test --shard=$CI_SHARD_INDEX/$CI_SHARD_TOTAL",
"cov": "run-s \"test:unit -- --coverage\"",
"cov:send": "run-s cov && codecov",
"reset": "git clean -dfx && git reset --hard && npm i",
"clean": "recursive-delete build",
"postinstall": "patch-package && run-p install:*",
"install:docs": "cd docs && npm ci",
"install:storybook": "cd storybook && npm ci",
"install:server": "cd server && npm ci",
"prepush:skip-e2e": "run-s fix build test:lint test:unit",
"prepush": "run-s fix build test",
"start-release": "node ./scripts/start-release.mjs",
"vscode-intellisense": "node ./scripts/vscode-intellisense.js",
"i18n-export": "node ./scripts/i18n-export.js",
"i18n-update-push": "node ./scripts/i18n-upload.mjs",
"i18n-update-pull": "node ./scripts/i18n-import.mjs",
"i18n-exclude": "node ./scripts/i18n-exclude.js",
"i18n-lokalise-json": "node ./scripts/i18n-lokalise-json.mjs",
"validate-skills": "npx @tanstack/intent@latest validate .agents/skills"
},
"dependencies": {
"@live-codes/solid-sdk": "0.5.0",
"@snackbar/core": "1.7.0",
"codejar": "4.1.1",
"deep-diff": "1.0.2",
"firebase": "9.6.6",
"i18next": "23.15.1",
"i18next-http-backend": "2.6.1",
"js-base64": "3.7.5",
"luna-console": "1.3.6",
"luna-data-grid": "1.4.1",
"luna-dom-viewer": "1.8.2",
"luna-object-viewer": "0.3.2",
"lz-string": "1.4.4",
"monaco-editor": "0.48.0",
"prismjs": "1.29.0",
"split.js": "1.6.5",
"yjs": "13.5.40"
},
"devDependencies": {
"@bitjson/typedoc": "0.15.0-0",
"@cloudflare/workers-types": "3.4.0",
"@eslint/compat": "1.2.6",
"@eslint/js": "9.20.0",
"@inquirer/prompts": "1.0.3",
"@istanbuljs/nyc-config-typescript": "1.0.1",
"@lokalise/node-api": "14.4.0",
"@playwright/test": "1.32.3",
"@types/deep-diff": "1.0.1",
"@types/jest": "25.2.3",
"@types/live-server": "1.2.0",
"@types/localforage": "0.0.34",
"@types/lz-string": "1.3.34",
"@types/node": "25.5.0",
"@types/prettier": "2.1.6",
"@types/prismjs": "1.16.3",
"@types/react": "19.0.10",
"@typescript-eslint/eslint-plugin": "8.24.1",
"@typescript-eslint/parser": "8.24.1",
"@typescript/vfs": "1.5.3",
"@vue/runtime-core": "3.2.45",
"autoprefixer": "10.4.2",
"brotli-size": "4.0.0",
"codecov": "3.8.3",
"comlink": "4.4.1",
"conventional-changelog": "3.1.25",
"cross-env": "7.0.3",
"dts-bundle": "0.7.3",
"esbuild": "0.20.2",
"esbuild-plugin-minify-html": "0.1.2",
"esbuild-plugin-replace": "1.4.0",
"eslint": "9.20.1",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jest": "28.11.0",
"eslint-plugin-jsdoc": "50.6.3",
"eslint-plugin-no-only-tests": "3.3.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-storybook": "10.3.1",
"gh-pages": "6.1.0",
"globals": "15.15.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"live-server": "1.2.1",
"mkdirp": "1.0.4",
"nodemon": "2.0.20",
"npm-run-all": "4.1.5",
"patch-package": "7.0.2",
"postcss": "8.5.6",
"postcss-cli": "11.0.1",
"prettier": "3.2.5",
"prettier-plugin-organize-imports": "4.1.0",
"recursive-fs": "2.1.0",
"sass": "1.97.3",
"stylelint": "17.3.0",
"stylelint-config-sass-guidelines": "13.0.0",
"ts-jest": "29.1.0",
"tslib": "2.6.2",
"typedoc": "0.25.13",
"typedoc-plugin-missing-exports": "2.2.0",
"typescript": "5.4.5"
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 100,
"plugins": ["prettier-plugin-organize-imports"]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "jsdom",
"setupFiles": ["<rootDir>/.jest/setup.ts"],
"testPathIgnorePatterns": ["/node_modules/", "/build/", "/src/modules/"],
"collectCoverageFrom": ["src/**/*.ts", "!**/build/**", "!**/vendor/**", "!src/modules/**"],
"coverageReporters": ["json", "html", "lcov"],
"resolveJsonModule": true
}
}