加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.69 KB
一键复制 编辑 原始数据 按行查看 历史
Mateusz Burzyński 提交于 2019-12-07 23:49 . Use changesets
{
"name": "xstate-monorepo",
"private": true,
"description": "Finite State Machines and Statecharts for the Modern Web.",
"workspaces": {
"packages": [
"packages/*",
"packages/xstate-viz/example"
]
},
"scripts": {
"preinstall": "node ./scripts/ensure-yarn.js",
"postinstall": "manypkg check",
"clean:packages": "yarn workspaces run clean",
"build": "tsc -b ./tsconfig.monorepo.json",
"test": "jest",
"test:core": "npm test --prefix packages/core",
"dev": "node ./scripts/dev.js",
"ci": "npm run build && npm run test",
"typedoc": "cd ./packages/core && typedoc --excludePrivate --mode file --out ./api --target es6 --moduleResolution node ./src",
"typedoc:publish": "npm run typedoc && gh-pages --dist ./api --dest ./api",
"docs:readme": "cpy 'README.md' docs",
"docs:dev": "npm run docs:packages && cd docs && vuepress dev .",
"docs:pdf": "npm run docs:build && cd docs && vuepress export .",
"docs:packages": "cpy 'packages/*/README.md' docs --parents --rename=index.md && cpy 'packages/*/docs/*.md' docs --parents",
"docs:build": "npm run docs:readme && npm run docs:packages && cd docs && vuepress build .",
"docs:publish": "npm run docs:build && gh-pages --dist ./docs/.vuepress/dist --dest ./docs && npm run typedoc:publish",
"changeset": "changeset",
"prerelease": "npm run build && npm run test",
"release": "changeset publish"
},
"repository": {
"type": "git",
"url": "git+https://github.com/davidkpiano/xstate.git"
},
"author": "David Khourshid <davidkpiano@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/davidkpiano/xstate/issues"
},
"homepage": "https://github.com/davidkpiano/xstate#readme",
"dependencies": {
"@changesets/cli": "^2.4.0",
"@manypkg/cli": "^0.9.0",
"@types/jest": "^24.0.23",
"@types/node": "^12.11.1",
"@vuepress/plugin-google-analytics": "^1.2.0",
"cpy-cli": "^2.0.0",
"gh-pages": "^2.0.1",
"husky": "^3.1.0",
"jest": "^24.8.0",
"jest-watch-typeahead": "^0.4.1",
"jsdom": "^14.0.0",
"jsdom-global": "^3.0.2",
"lerna-alias": "3.0.3-0",
"lint-staged": "^8.2.1",
"markdown-it-codesandbox-embed": "^0.1.0",
"mermaid": "^8.2.3",
"prettier": "^1.18.2",
"spawn-command": "0.0.2-1",
"ts-jest": "^24.1.9",
"tslint": "^5.11.0",
"typedoc": "^0.15.2",
"typescript": "^3.7.2",
"vuepress": "^1.2.0",
"vuepress-plugin-export": "^0.2.0",
"webpack-dev-middleware": "^3.6.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,js,json,md}": [
"prettier --write",
"git add"
]
},
"version": "1.19.1"
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化