This commit is contained in:
Kuitos 2022-05-23 16:07:06 +08:00
parent bc884b2044
commit 37d279cab2

View File

@ -1,6 +1,6 @@
{ {
"name": "qiankun", "name": "qiankun",
"version": "2.7.0", "version": "2.7.1",
"description": "A completed implementation of Micro Frontends", "description": "A completed implementation of Micro Frontends",
"keywords": [ "keywords": [
"micro frontend", "micro frontend",
@ -10,10 +10,25 @@
"micro-frontends", "micro-frontends",
"microservice" "microservice"
], ],
"homepage": "https://github.com/kuitos/qiankun#readme",
"bugs": {
"url": "https://github.com/kuitos/qiankun/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/kuitos/qiankun.git"
},
"license": "MIT",
"author": "Kuitos",
"sideEffects": false,
"main": "./lib/index.js", "main": "./lib/index.js",
"module": "./es/index.js", "module": "./es/index.js",
"types": "./es/index.d.ts", "types": "./es/index.d.ts",
"sideEffects": false, "files": [
"dist",
"es",
"lib"
],
"scripts": { "scripts": {
"examples:install": "npm-run-all --serial build install:*", "examples:install": "npm-run-all --serial build install:*",
"examples:start": "npm-run-all --parallel start:*", "examples:start": "npm-run-all --parallel start:*",
@ -46,21 +61,45 @@
"ci": "yarn lint && yarn build && yarn test", "ci": "yarn lint && yarn build && yarn test",
"test": "cross-env NODE_ENV=test jest" "test": "cross-env NODE_ENV=test jest"
}, },
"repository": { "husky": {
"type": "git", "hooks": {
"url": "git+https://github.com/kuitos/qiankun.git" "pre-commit": "lint-staged",
"pre-push": "yarn test"
}
}, },
"files": [ "lint-staged": {
"dist", "**/*.{js,ts,json,css,md}": [
"es", "prettier -w"
"lib" ],
], "**/*.{js,ts}": [
"author": "Kuitos", "yarn lint:fix"
"license": "MIT", ]
"bugs": { },
"url": "https://github.com/kuitos/qiankun/issues" "jest": {
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/dist/"
],
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/"
],
"transform": {
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest"
}
},
"resolutions": {
"@types/history": "^4.x",
"@types/react": "^17.x"
}, },
"homepage": "https://github.com/kuitos/qiankun#readme",
"dependencies": { "dependencies": {
"@babel/runtime": "^7.10.5", "@babel/runtime": "^7.10.5",
"import-html-entry": "^1.9.0", "import-html-entry": "^1.9.0",
@ -88,44 +127,5 @@
"ts-jest": "^25.2.1", "ts-jest": "^25.2.1",
"typescript": "^4.1.2", "typescript": "^4.1.2",
"umi-plugin-hire": "^1.0.3" "umi-plugin-hire": "^1.0.3"
},
"resolutions": {
"@types/react": "^17.x",
"@types/history": "^4.x"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn test"
}
},
"lint-staged": {
"**/*.{js,ts,json,css,md}": [
"prettier -w"
],
"**/*.{js,ts}": [
"yarn lint:fix"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/fixtures/"
],
"transform": {
"^.+\\.ts$": "<rootDir>/node_modules/ts-jest"
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"/__tests__/",
"/dist/"
]
} }
} }