UNPKG

@micro-zoe/micro-app

Version:

A lightweight, efficient and powerful micro front-end framework

135 lines (134 loc) 4.74 kB
{ "name": "@micro-zoe/micro-app", "version": "1.0.0-rc.30", "description": "A lightweight, efficient and powerful micro front-end framework", "private": false, "main": "lib/index.min.js", "module": "lib/index.esm.js", "types": "lib/index.d.ts", "directories": { "doc": "docs" }, "scripts": { "bootstrap": "yarn && npm-run-all --serial install:*", "start": "yarn start:main-react16", "start:main-react16": "npm-run-all --parallel build:watch start-child:* main-react16", "start:main-vue2": "npm-run-all --parallel build:watch start-child:* main-vue2", "start:main-vite": "npm-run-all --parallel build:watch start-child:* main-vite", "build:watch": "cross-env NODE_ENV='development' rollup -c -w", "build": "cross-env NODE_ENV='production' rollup -c && npm run createtype && npm run afterbuild", "install:main-react16": "cd dev/main-react16 && yarn", "install:main-vue2": "cd dev/main-vue2 && yarn", "install:main-vite": "cd dev/main-vite && yarn", "install:child-react16": "cd dev/children/react16 && yarn", "install:child-react17": "cd dev/children/react17 && yarn", "install:child-vue2": "cd dev/children/vue2 && yarn", "install:child-vue3": "cd dev/children/vue3 && yarn", "install:child-vite2": "cd dev/children/vite2 && yarn", "install:child-vite4": "cd dev/children/vite4 && yarn", "install:child-angular11": "cd dev/children/angular11 && yarn", "main-react16": "cd dev/main-react16 && yarn start", "main-vue2": "cd dev/main-vue2 && yarn start", "main-vite": "cd dev/main-vite && yarn start", "start-child:react16": "cd dev/children/react16 && yarn start", "start-child:react17": "cd dev/children/react17 && yarn start", "start-child:vue2": "cd dev/children/vue2 && yarn start", "start-child:vue3": "cd dev/children/vue3 && yarn start", "start-child:vite2": "cd dev/children/vite2 && yarn start", "start-child:vite4": "cd dev/children/vite4 && yarn start", "start-child:angular11": "cd dev/children/angular11 && yarn start", "docs": "docsify serve docs --port 2000", "lint": "eslint --cache '**/*.{js,ts}'", "lint:fix": "yarn lint --fix", "createtype": "node scripts/create_type.js", "afterbuild": "node scripts/after_build.js", "test:server": "node scripts/test_server.js --start", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "test:unit": "jest src/__tests__/unit", "test:unit:coverage": "npm run test:unit -- --coverage", "prepublishOnly": "yarn build" }, "repository": { "type": "git", "url": "https://github.com/jd-opensource/micro-app.git" }, "publishConfig": { "access": "public" }, "keywords": [ "webcomponents", "micro-frontend", "microapp" ], "files": [ "es", "lib", "polyfill", "plugins", "typings" ], "author": "cangdu", "license": "MIT", "bugs": { "url": "https://github.com/jd-opensource/micro-app/issues" }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "lint-staged": { "**/*.{js,ts}": [ "yarn lint" ] }, "dependencies": {}, "devDependencies": { "@babel/core": "~7.12.10", "@babel/plugin-transform-runtime": "~7.12.10", "@babel/preset-env": "~7.12.11", "@babel/runtime": "~7.12.5", "@commitlint/cli": "~11.0.0", "@commitlint/config-conventional": "~11.0.0", "@rollup/plugin-babel": "~5.2.2", "@rollup/plugin-node-resolve": "~11.0.1", "@rollup/plugin-replace": "~2.4.1", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "~8.1.0", "@types/jest": "~26.0.24", "@types/node": "~14.14.19", "@typescript-eslint/eslint-plugin": "~4.11.1", "@typescript-eslint/parser": "~4.11.1", "@webcomponents/webcomponentsjs": "~2.5.0", "babel-jest": "~26.6.0", "chalk": "~4.1.0", "coveralls": "~3.1.1", "cross-env": "~7.0.3", "custom-elements-es5-adapter": "~1.0.0", "docsify-cli": "~4.4.2", "dts-bundle": "~0.7.3", "eslint": "~7.17.0", "eslint-config-standard": "~16.0.2", "eslint-plugin-import": "~2.22.1", "eslint-plugin-jest": "~24.3.6", "eslint-plugin-node": "~11.1.0", "eslint-plugin-promise": "~4.2.1", "eslint-plugin-standard": "~5.0.0", "fs-extra": "~10.0.0", "gzip-size": "~6.0.0", "husky": "~4.3.6", "jest": "~26.6.0", "lint-staged": "~10.5.3", "live-server": "~1.2.1", "node-fetch": "~2.6.1", "npm-run-all": "~4.1.5", "pretty-bytes": "~5.5.0", "rollup": "~2.35.1", "rollup-plugin-terser": "~7.0.2", "ts-jest": "~26.5.6", "typescript": "~4.1.3" } }