zenstack/packages/schema/package.json
2023-07-24 15:10:54 +08:00

143 lines
4.6 KiB
JSON

{
"name": "zenstack",
"publisher": "zenstack",
"displayName": "ZenStack Language Tools",
"description": "A toolkit for building secure CRUD apps with Next.js + Typescript",
"version": "1.0.0-beta.12",
"author": {
"name": "ZenStack Team"
},
"homepage": "https://zenstack.dev",
"license": "MIT",
"keywords": [
"fullstack",
"react",
"typescript",
"data modeling"
],
"preview": false,
"icon": "asset/logo-256-bg.png",
"repository": {
"type": "git",
"url": "https://github.com/zenstackhq/zenstack"
},
"publishConfig": {
"directory": "dist",
"linkDirectory": true
},
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "zmodel",
"aliases": [
"ZenStack Model",
"zmodel"
],
"extensions": [
".zmodel"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./asset/logo-light-256.png",
"dark": "./asset/logo-dark-256.png"
}
}
],
"grammars": [
{
"language": "zmodel",
"scopeName": "source.zmodel",
"path": "./syntaxes/zmodel.tmLanguage.json"
}
]
},
"activationEvents": [
"onLanguage:zmodel"
],
"bin": {
"zenstack": "bin/cli"
},
"main": "./bundle/extension.js",
"scripts": {
"vscode:publish": "vsce publish --no-dependencies",
"vscode:prepublish": "pnpm bundle",
"vscode:package": "vsce package --no-dependencies",
"clean": "rimraf bundle dist",
"build": "pnpm clean && pnpm lint && tsc && copyfiles -F \"bin/*\" dist && copyfiles ./README-global.md ./LICENSE ./package.json dist && renamer --replace \"README.md\" dist/README-global.md && copyfiles -u 1 \"src/res/*\" dist && node build/post-build.js && pnpm pack dist --pack-destination '../../../.build'",
"bundle": "pnpm clean && pnpm lint && node build/bundle.js --minify",
"watch": "tsc --watch",
"lint": "eslint src tests --ext ts",
"test": "jest",
"prepublishOnly": "pnpm build",
"publish-dev": "pnpm publish --registry http://localhost:4873",
"postinstall": "node bin/post-install.js"
},
"dependencies": {
"@paralleldrive/cuid2": "^2.2.0",
"@prisma/generator-helper": "^5.0.0",
"@zenstackhq/language": "workspace:*",
"@zenstackhq/sdk": "workspace:*",
"async-exit-hook": "^2.0.1",
"change-case": "^4.1.2",
"colors": "1.4.0",
"commander": "^8.3.0",
"get-latest-version": "^5.0.1",
"langium": "1.2.0",
"lower-case-first": "^2.0.2",
"mixpanel": "^0.17.0",
"node-machine-id": "^1.1.12",
"ora": "^5.4.1",
"pluralize": "^8.0.0",
"promisify": "^0.0.3",
"semver": "^7.3.8",
"sleep-promise": "^9.1.0",
"strip-color": "^0.1.0",
"ts-morph": "^16.0.0",
"ts-pattern": "^4.3.0",
"upper-case-first": "^2.0.2",
"uuid": "^9.0.0",
"vscode-jsonrpc": "^8.0.2",
"vscode-languageclient": "^8.0.2",
"vscode-languageserver": "^8.0.2",
"vscode-languageserver-textdocument": "^1.0.7",
"vscode-uri": "^3.0.6",
"zod": "3.21.1",
"zod-validation-error": "^0.2.1"
},
"devDependencies": {
"@types/async-exit-hook": "^2.0.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.0.0",
"@types/pluralize": "^0.0.29",
"@types/semver": "^7.3.13",
"@types/strip-color": "^0.1.0",
"@types/tmp": "^0.2.3",
"@types/uuid": "^8.3.4",
"@types/vscode": "^1.56.0",
"@typescript-eslint/eslint-plugin": "^5.42.0",
"@typescript-eslint/parser": "^5.42.0",
"@vscode/vsce": "^2.19.0",
"@zenstackhq/runtime": "workspace:*",
"concurrently": "^7.4.0",
"copyfiles": "^2.4.1",
"dotenv": "^16.0.3",
"esbuild": "^0.15.12",
"eslint": "^8.27.0",
"eslint-plugin-jest": "^27.1.7",
"jest": "^29.5.0",
"renamer": "^4.0.0",
"rimraf": "^3.0.2",
"tmp": "^0.2.1",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"tsc-alias": "^1.7.0",
"typescript": "^4.8.4",
"vitest": "^0.29.7"
}
}