feat: 支持本地多包管理
This commit is contained in:
parent
4db2e90705
commit
ff0ba1d00f
|
@ -8,7 +8,7 @@
|
||||||
"homepage": "",
|
"homepage": "",
|
||||||
"bugs": "",
|
"bugs": "",
|
||||||
"license": "MulanPSL2",
|
"license": "MulanPSL2",
|
||||||
"main": "./index.js",
|
"main": "./build/index.js",
|
||||||
"repository": {},
|
"repository": {},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=0.10.0"
|
"node": ">=0.10.0"
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
"test": "jest --config=jest.config.js",
|
"test": "jest --config=jest.config.js",
|
||||||
"watch-test": "yarn test --watch --dev"
|
"watch-test": "yarn test --watch --dev"
|
||||||
},
|
},
|
||||||
"types": "./@types/index.d.ts",
|
"types": "./build/@types/index.d.ts",
|
||||||
"exports": {
|
"exports": {
|
||||||
".": {
|
".": {
|
||||||
"default": "./index.js"
|
"default": "./index.js"
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"name": "openinula",
|
||||||
|
"description": "OpenInula is a JavaScript framework library.",
|
||||||
|
"keywords": [
|
||||||
|
"openinula"
|
||||||
|
],
|
||||||
|
"version": "0.0.4",
|
||||||
|
"homepage": "",
|
||||||
|
"bugs": "",
|
||||||
|
"license": "MulanPSL2",
|
||||||
|
"main": "./index.js",
|
||||||
|
"repository": {},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=0.10.0"
|
||||||
|
},
|
||||||
|
"types": "./@types/index.d.ts",
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"default": "./index.js"
|
||||||
|
},
|
||||||
|
"./package.json":"./package.json",
|
||||||
|
"./jsx-runtime": "./jsx-runtime.js",
|
||||||
|
"./jsx-dev-runtime": "./jsx-dev-runtime.js"
|
||||||
|
}
|
||||||
|
}
|
|
@ -102,7 +102,7 @@ function genConfig(mode) {
|
||||||
to: path.join(outDir, 'index.js'),
|
to: path.join(outDir, 'index.js'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
from: path.join(libDir, 'package.json'),
|
from: path.join(__dirname,'..', 'package.json'),
|
||||||
to: path.join(outDir, 'package.json'),
|
to: path.join(outDir, 'package.json'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue