forked from Tencent/Hippy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 4.67 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"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",
"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": "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)\" \"examples/hippy-vue-next-ssr-demo/**/*.@(js|ts|vue)\" \"./scripts/**/*.js\" \"./core/js/**/*.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 && jest",
"watch": "watch \"npm run build\" ./packages --ignoreDotFiles --ignoreUnreadable --ignoreDirectoryPattern '/dist/'",
"doc": "docsify serve docs",
"prepare": "is-ci || husky install",
"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",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/lint": "^16.2.1",
"@commitlint/prompt-cli": "^16.2.1",
"@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",
"commitlint-plugin-function-rules": "^1.6.0",
"core-js": "^3.20.2",
"csstype": "^3.0.10",
"docsify-cli": "^4.4.4",
"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",
"fs-extra": "^11.1.1",
"got": "^12.1.0",
"husky": "^7.0.4",
"is-ci": "^2.0.0",
"jest": "^27.3.1",
"lerna": "^6.0.3",
"lint-staged": "^12.1.7",
"markdown-it": "^12.3.2",
"markdownlint-cli": "^0.31.1",
"marked": "^4.0.10",
"minimist": "^1.2.6",
"module-alias": "^2.2.2",
"nyc": "^15.1.0",
"path-to-regexp": "^1.7.0",
"prismjs": "^1.27.0",
"react": "^17.0.2",
"rimraf": "^2.6.3",
"rollup": "^2.79.1",
"rollup-plugin-api-extractor": "^0.2.5",
"rollup-plugin-copy": "^3.4.0",
"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.13",
"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"
]
}
}