-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
42 lines (42 loc) · 1.86 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
{
"name": "@studiometa/js-toolkit-workspace",
"version": "3.0.0-alpha.11",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"demo:dev": "npm run dev --workspace=@studiometa/js-toolkit-demo",
"demo:watch": "npm run watch --workspace=@studiometa/js-toolkit-demo",
"demo:build": "npm run build --workspace=@studiometa/js-toolkit-demo",
"docs:dev": "npm run dev --workspace=@studiometa/js-toolkit-docs",
"docs:build": "npm run build --workspace=@studiometa/js-toolkit-docs",
"docs:preview": "npm run preview --workspace=@studiometa/js-toolkit-docs",
"test": "npm run test --workspace=@studiometa/js-toolkit-tests",
"lint": "npm run lint:oxlint && npm run lint:types && npm run lint:docs",
"lint:oxlint": "oxlint .",
"lint:docs": "prettier --check 'packages/docs/**/*.{md,js,html,vue}' --cache",
"lint:types": "tsc --build tsconfig.lint.json",
"lint:md": "prettier --check '*.md'",
"fix": "npm run fix:docs && npm run fix:md",
"fix:docs": "prettier --write 'packages/docs/**/*.{md,js,html,vue}'",
"fix:md": "prettier --write '*.md'",
"build": "rm -rf dist && npm run build:pkg && npm run build:types && npm run build:cp-files",
"build:cp-files": "cp packages/js-toolkit/package.json dist/ && sed -i '' 's/index\\.ts/index\\.js/' dist/package.json && cat dist/package.json && cp LICENSE dist/ && cp README.md dist",
"build:types": "tsc --build tsconfig.build.json",
"build:pkg": "node scripts/build.js",
"build-for-export-size": "node scripts/add-utils-export.js && rm -rf dist && npm run build:pkg && npm run build:cp-files"
},
"devDependencies": {
"@studiometa/prettier-config": "4.1.0",
"@types/node": "22.9.0",
"oxlint": "0.11.1",
"prettier": "3.3.3",
"typescript": "5.6.3"
},
"dependencies": {
"esbuild": "^0.24.0",
"fast-glob": "^3.3.2"
}
}