68 lines
1.9 KiB
JSON
68 lines
1.9 KiB
JSON
{
|
|
"name": "@google/design.md",
|
|
"version": "0.3.0",
|
|
"description": "Bridging design systems and code: a linter and exporter for the DESIGN.md format",
|
|
"keywords": [
|
|
"design.md"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/google-labs-code/design.md.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/google-labs-code/design.md/issues"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"private": false,
|
|
"type": "module",
|
|
"bin": {
|
|
"design.md": "./dist/index.js",
|
|
"designmd": "./dist/index.js"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"import": "./dist/index.js",
|
|
"types": "./dist/index.d.ts"
|
|
},
|
|
"./linter": {
|
|
"import": "./dist/linter/index.js",
|
|
"types": "./dist/linter/index.d.ts"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://wombat-dressing-room.appspot.com",
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "bun build src/index.ts src/linter/index.ts --outdir dist --target node && npx tsc --project tsconfig.build.json --emitDeclarationOnly --skipLibCheck && cp src/linter/spec-config.yaml dist/linter/ && cp src/linter/spec-config.yaml dist/ && cp ../../docs/spec.md dist/linter/ && cp ../../docs/spec.md dist/",
|
|
"dev": "bun run src/index.ts",
|
|
"test": "bun test",
|
|
"lint": "tsc --noEmit --skipLibCheck",
|
|
"spec:gen": "bun run src/linter/spec-gen/generate.ts",
|
|
"check-package": "bun run scripts/check-package.ts"
|
|
},
|
|
"dependencies": {
|
|
"citty": "^0.1.6",
|
|
"remark-frontmatter": "^5.0.0",
|
|
"remark-mdx": "^3.1.1",
|
|
"remark-parse": "^11.0.0",
|
|
"remark-stringify": "^11.0.0",
|
|
"unified": "^11.0.5",
|
|
"unist-util-visit": "^5.1.0",
|
|
"yaml": "^2.7.1",
|
|
"zod": "^3.24.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/bun": "latest",
|
|
"@types/mdast": "^4.0.4",
|
|
"@types/node": "^20.11.24",
|
|
"bun-types": "^1.3.12",
|
|
"tailwindcss": "3",
|
|
"typescript": "^5.7.3"
|
|
}
|
|
}
|