加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.03 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "single-spa",
"version": "4.4.1",
"description": "Multiple applications, one page",
"main": "lib/umd/single-spa.min.js",
"types": "typings/single-spa.d.ts",
"module": "lib/esm/single-spa.min.js",
"scripts": {
"build": "yarn clean && npm run build:prod && npm run build:dev",
"build:prod": "rollup -c --environment NODE_ENV:'production'",
"build:dev": "rollup -c",
"build:analyze": "rollup -c --environment ANALYZER:'analyzer'",
"watch": "rollup -c -w",
"prepublishOnly": "yarn build",
"clean": "rm -rf lib",
"test": "BABEL_ENV=test jest --config jest.config.json",
"test:watch": "BABEL_ENV=test jest --config jest.config.json --watch",
"lint": "eslint src"
},
"husky": {
"hooks": {
"pre-push": "yarn test && yarn lint"
}
},
"files": [
"lib",
"typings"
],
"homepage": "https://single-spa.js.org",
"repository": "https://github.com/CanopyTax/single-spa",
"bugs": "https://github.com/CanopyTax/single-spa/issues",
"keywords": [
"single",
"page",
"application",
"framework",
"react",
"angular",
"vue"
],
"author": "Joel Denning",
"license": "MIT",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.5.5",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.4",
"babel-plugin-dynamic-import-node": "^2.3.0",
"custom-event": "^1.0.1",
"eslint": "6.3.0",
"eslint-config-canopy": "2.3.0",
"husky": "^3.0.5",
"jest": "^24.9.0",
"rollup": "^1.20.3",
"rollup-plugin-analyzer": "^3.1.2",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-terser": "^5.1.1"
},
"browserslist": [
"ie >= 11",
"last 4 Safari major versions",
"last 10 Chrome major versions",
"last 10 Firefox major versions",
"last 4 Edge major versions"
],
"ignore": [
"examples",
"docs"
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化