UNPKG

@difizen/umi-plugin-mana

Version:

- 支持 decorator 所需的 babel 配置,在 typescript 4 环境生效 - 支持动态路由路径 - 支持 nodenext,在 import path 中允许增加扩展名 - 支持 mana 运行时能力,基于 slot 的路由等

47 lines (46 loc) 1.25 kB
{ "name": "@difizen/umi-plugin-mana", "version": "1.0.0", "description": "", "keywords": [ "mana", "difizen", "decorator", "route", "nodenext", "umi", "plugin" ], "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "scripts": { "setup": "father build", "build": "father build", "test": ": Note: lint task is delegated to test:* scripts", "test:vitest": "vitest run", "test:jest": "jest", "coverage": ": Note: lint task is delegated to coverage:* scripts", "coverage:vitest": "vitest run --coverage", "coverage:jest": "jest --coverage", "lint": ": Note: lint task is delegated to lint:* scripts", "lint:eslint": "eslint src", "lint:tsc": "tsc --noEmit" }, "publishConfig": { "access": "public" }, "dependencies": { "@babel/plugin-proposal-decorators": "^7.23.2", "@babel/plugin-transform-class-properties": "^7.22.5", "@babel/plugin-transform-flow-strip-types": "^7.22.5", "@babel/plugin-transform-private-methods": "^7.22.5", "@babel/plugin-transform-private-property-in-object": "^7.22.11", "babel-plugin-parameter-decorator": "^1.0.16", "umi": "^4.3.14" } }