sunmao-ui/package.json
Yanzhen Yu fd86d9cc0e fork @vue-reactivity/watch to fix bundler issue
@vue-reactivity/watch use tsup as its bundler, which create .mjs
file as the ES module output.
But webpack4 do not like .mjs extension which cause tools like
create-react-app failed when using meta-ui. Even users can add some
trick to let webpack4 bundle .mjs file, the watch function still
not working.

Refs:
1. https://github.com/facebook/create-react-app/issues/10356
2. https://github.com/formatjs/formatjs/issues/1395#issuecomment-518823361
2021-10-27 14:11:02 +08:00

39 lines
879 B
JSON

{
"name": "root",
"private": true,
"scripts": {
"lerna": "lerna",
"prepublish": "lerna run prepublish",
"test:ci": "jest -c config/jest.ci.config.js",
"lint": "eslint packages --ext .ts --ext .tsx",
"fix-lint": "eslint --fix packages --ext .ts --ext .tsx",
"release": "lerna publish"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-react": "^7.25.1",
"husky": "^6.0.0",
"lerna": "^4.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.2"
},
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx,html}": [
"prettier --write",
"eslint --fix",
"git add"
]
}
}