mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-18 13:40:41 +08:00
89 lines
3.3 KiB
JSON
89 lines
3.3 KiB
JSON
{
|
|
"name": "hippy",
|
|
"private": true,
|
|
"author": "Hippy Team <hippy@tencent.com>",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=10.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "node ./scripts/build.js",
|
|
"buildcore": "node ./scripts/build-core.js",
|
|
"buildexample": "node ./scripts/build-example.js",
|
|
"markdownlint": "markdownlint --config .markdownlintrc.json \"./@(README|README.zh_CN|PUBLISH.zh_CN).md\" \"./docs/**/*.md\"",
|
|
"coverage": "nyc ava",
|
|
"codecov": "cat ./coverage/lcov.info | codecov",
|
|
"lint": "eslint --fix \"packages/**/*.@(js|ts|tsx|vue)\" \"examples/hippy-react-demo/**/*.@(js|jsx)\" \"examples/hippy-vue-demo/**/*.@(js|vue)\" \"./scripts/**/*.js\" \"./core/js/**/*.js\"",
|
|
"clean": "rimraf ./coverage ./nyc_output packages/*/dist",
|
|
"test": "ava",
|
|
"watch": "watch \"npm run build\" ./packages --ignoreDotFiles --ignoreUnreadable --ignoreDirectoryPattern '/dist/'",
|
|
"publish": "lerna version patch --conventional-commits --sign-git-commit",
|
|
"doc": "docsify serve docs",
|
|
"prepare": "is-ci || husky install"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8",
|
|
"@babel/plugin-proposal-optional-chaining": "^7.13.8",
|
|
"@commitlint/cli": "^15.0.0",
|
|
"@commitlint/config-conventional": "^15.0.0",
|
|
"@commitlint/lint": "^15.0.0",
|
|
"@commitlint/prompt-cli": "^15.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.27.0",
|
|
"@typescript-eslint/parser": "^4.27.0",
|
|
"@wessberg/rollup-plugin-ts": "^1.1.72",
|
|
"ava": "^2.2.0",
|
|
"codecov": "^3.6.1",
|
|
"commitlint-plugin-function-rules": "^1.4.0",
|
|
"csstype": "^2.6.7",
|
|
"docsify-cli": "^4.4.0",
|
|
"eslint": "^7.28.0",
|
|
"eslint-config-tencent": "^1.0.2",
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
"eslint-plugin-import": "^2.18.2",
|
|
"eslint-plugin-jsx-a11y": "^6.2.3",
|
|
"eslint-plugin-react": "^7.14.3",
|
|
"eslint-plugin-vue": "^7.0.0-beta.4",
|
|
"esm": "^3.2.25",
|
|
"flow-remove-types": "^1.2.3",
|
|
"husky": "^7.0.1",
|
|
"is-ci": "^2.0.0",
|
|
"lerna": "^3.16.4",
|
|
"lint-staged": "^11.0.1",
|
|
"markdownlint-cli": "^0.28.1",
|
|
"module-alias": "^2.2.1",
|
|
"nyc": "^14.1.1",
|
|
"path-to-regexp": "^1.7.0",
|
|
"react": "^16.8.6",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^1.18.0",
|
|
"rollup-plugin-alias": "^1.5.2",
|
|
"rollup-plugin-buble": "^0.19.8",
|
|
"rollup-plugin-commonjs": "^10.0.2",
|
|
"rollup-plugin-flow-no-whitespace": "^1.0.0",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-replace": "^2.2.0",
|
|
"shelljs": "^0.8.3",
|
|
"tslib": "^1.10.0",
|
|
"typedoc": "^0.15.0",
|
|
"typedoc-plugin-markdown": "^2.2.10",
|
|
"typedoc-plugin-no-inherit": "^1.1.10",
|
|
"typescript": "^3.7.4",
|
|
"vue": "^2.6.10",
|
|
"watch": "^1.0.2"
|
|
},
|
|
"_moduleAliases": {
|
|
"vue": "node_modules/vue/src/core/index",
|
|
"compiler": "node_modules/vue/src/compiler",
|
|
"web": "node_modules/vue/src/platforms/web",
|
|
"core": "node_modules/vue/src/core",
|
|
"shared": "node_modules/vue/src/shared",
|
|
"sfc": "node_modules/vue/src/sfc",
|
|
"he": "packages/hippy-vue/util/entity-decoder",
|
|
"@localTypes": "packages/types",
|
|
"@vue": "packages/hippy-vue/src",
|
|
"@router": "packages/hippy-vue-router/src",
|
|
"@css-loader": "packages/hippy-vue-css-loader/src",
|
|
"@native-components": "packages/hippy-vue-native-components/src"
|
|
}
|
|
}
|