mirror of
https://github.com/Tencent/Hippy.git
synced 2026-10-18 13:40:41 +08:00
62102ab1e8
* chore(drive/js): bump up ttypescript version Current ttypescript version not support node v16.20.2, the latest v16 version. It will cause this issue: https://github.com/cevek/ttypescript/issues/150 * fix(hipp-vue-next): correct patchProps types align patchProps types with vue runtime core, but there also have some spec tests to fix * refactor(vue-next): minify generated style code just like fromSsrAstNodes, optimize the output in hippy-vue-css-loader, and make hippy-vue-next-style-parser to compatible with old and new format. * build(example-scripts): remove webpack.NamedModulesPlugin webpack.NamedModulesPlugin was deprecated in v4 and removed in v5. these plugin are default in devlopment mode and should not be configured in production mode, because it will expose file path and increase bundle sizes. https://v4.webpack.js.org/migrate/4/#deprecatedremoved-plugins * chore(examples): update vue3 assets --------- Co-authored-by: zealotchen <92966734+zealotchen0@users.noreply.github.com>
106 lines
4.0 KiB
JSON
106 lines
4.0 KiB
JSON
{
|
|
"name": "hippy",
|
|
"private": true,
|
|
"author": "Hippy Team <hippy@tencent.com>",
|
|
"license": "Apache-2.0",
|
|
"engines": {
|
|
"node": ">=16.0.0"
|
|
},
|
|
"scripts": {
|
|
"build": "node ./scripts/build.js",
|
|
"buildcore": "node ./scripts/build-core.js",
|
|
"buildexample": "node ./scripts/build-example.js",
|
|
"debugexample": "node ./scripts/debug-example.js",
|
|
"coverage": "nyc ava",
|
|
"codecov": "cat ./coverage/lcov.info | codecov",
|
|
"lint": "npx eslint --config .eslintrc.js --ignore-path .eslintignore --fix \"packages/**/*.@(js|ts|tsx|vue)\" \"examples/hippy-react-demo/**/*.@(js|ts|jsx)\" \"examples/hippy-vue-demo/**/*.@(js|ts|vue)\" \"examples/hippy-vue-next-demo/**/*.@(js|ts|vue)\" \"scripts/**/*.js\" \"lib/**/*.js\"",
|
|
"clean": "rimraf ./packages/*/node_modules ./examples/hippy-react-demo/node_modules ./examples/hippy-vue-demo/node_modules ./examples/hippy-vue-next-demo/node_modules",
|
|
"init": "npm install && npx lerna bootstrap && npm run build",
|
|
"init:example": "node ./scripts/init-example.js",
|
|
"test": "ava --config ava.config.js",
|
|
"watch": "watch \"npm run build\" ./packages --ignoreDotFiles --ignoreUnreadable --ignoreDirectoryPattern '/dist/'",
|
|
"release:tag-to-latest": "node ./scripts/release-to-latest.js",
|
|
"test:jest": "jest --detectOpenHandles --coverage"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.19.1",
|
|
"@babel/plugin-transform-runtime": "^7.19.1",
|
|
"@babel/preset-env": "^7.19.1",
|
|
"@babel/types": "^7.19.0",
|
|
"@microsoft/api-extractor": "^7.23.1",
|
|
"@rollup/plugin-alias": "^3.1.9",
|
|
"@rollup/plugin-babel": "^5.3.1",
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
"@rollup/plugin-node-resolve": "^14.1.0",
|
|
"@rollup/plugin-replace": "^4.0.0",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/node": "^17.0.8",
|
|
"@types/web": "^0.0.48",
|
|
"@typescript-eslint/eslint-plugin": "^5.38.0",
|
|
"@typescript-eslint/parser": "^5.38.0",
|
|
"ansi-regex": "^6.0.1",
|
|
"ava": "^2.4.0",
|
|
"chalk": "^4.1.2",
|
|
"codecov": "^3.8.3",
|
|
"core-js": "^3.20.2",
|
|
"csstype": "^3.0.10",
|
|
"eslint": "^7.32.0",
|
|
"eslint-config-tencent": "^1.0.4",
|
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
"eslint-plugin-import": "^2.26.0",
|
|
"eslint-plugin-jest": "^27.0.4",
|
|
"eslint-plugin-jsx-a11y": "^6.6.1",
|
|
"eslint-plugin-react": "^7.31.8",
|
|
"eslint-plugin-vue": "^9.5.1",
|
|
"esm": "^3.2.25",
|
|
"flow-remove-types": "^1.2.3",
|
|
"got": "^12.1.0",
|
|
"jest": "^27.3.1",
|
|
"lerna": "^6.0.3",
|
|
"minimist": "^1.2.6",
|
|
"module-alias": "^2.2.2",
|
|
"nyc": "^15.1.0",
|
|
"path-to-regexp": "^1.7.0",
|
|
"postcss-class-prefix": "~0.3.0",
|
|
"react": "^17.0.2",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^2.79.1",
|
|
"rollup-plugin-api-extractor": "^0.2.5",
|
|
"rollup-plugin-dts": "^4.2.3",
|
|
"rollup-plugin-flow-no-whitespace": "^1.0.0",
|
|
"rollup-plugin-typescript2": "^0.34.0",
|
|
"shelljs": "^0.8.5",
|
|
"tar": "^4.4.19",
|
|
"trim-newlines": "^3.0.1",
|
|
"ts-jest": "^27.1.2",
|
|
"tslib": "^2.3.1",
|
|
"ttypescript": "~1.5.15",
|
|
"typescript": "^4.8.3",
|
|
"typescript-transform-paths": "^3.3.1",
|
|
"vue": "^2.6.14",
|
|
"watch": "^0.13.0"
|
|
},
|
|
"_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",
|
|
"@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",
|
|
"@hippy-vue-next-style-parser": "packages/hippy-vue-next-style-parser/src"
|
|
},
|
|
"jest": {
|
|
"projects": [
|
|
"<rootDir>/packages/hippy-vue-next",
|
|
"<rootDir>/packages/hippy-vue-next-style-parser",
|
|
"<rootDir>/packages/hippy-vue-next-server-renderer",
|
|
"<rootDir>/packages/hippy-vue-next-compiler-ssr"
|
|
]
|
|
}
|
|
}
|