feat(create-component): publish v0.0.1
This commit is contained in:
parent
33ddc53075
commit
64df8f39b5
2 changed files with 14 additions and 5 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
{
|
{
|
||||||
"name": "@mcflyjs/create-component",
|
"name": "@mcflyjs/create-component",
|
||||||
"version": "0.0.1-alpha",
|
"version": "0.0.1",
|
||||||
"description": "Create a new web component",
|
"description": "Create a new web component",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"bin": {
|
"bin": {
|
||||||
"create-mcfly-component": "./dist/index.js"
|
"create-component": "./dist/index.js"
|
||||||
},
|
},
|
||||||
"main": "./dist/index.js",
|
"main": "./dist/index.js",
|
||||||
"exports": {
|
"exports": {
|
||||||
|
|
@ -16,13 +16,12 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --erasableSyntaxOnly",
|
"build": "tsc --erasableSyntaxOnly",
|
||||||
"dev": "npx jiti ./src/index.ts",
|
"dev": "npx jiti ./src/index.ts",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
"prepare": "husky"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.ayo.run/ayo/mcfly",
|
"url": "https://git.ayo.run/ayo/mcfly",
|
||||||
"directory": "packates/create-component"
|
"directory": "packages/create-component"
|
||||||
},
|
},
|
||||||
"author": "Ayo Ayco",
|
"author": "Ayo Ayco",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|
|
||||||
10
packages/create-component/tsconfig.json
Normal file
10
packages/create-component/tsconfig.json
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"extends": "../../tsconfig.base.json",
|
||||||
|
"include": ["src"],
|
||||||
|
"compilerOptions": {
|
||||||
|
"allowJs": true,
|
||||||
|
"emitDeclarationOnly": false,
|
||||||
|
"declarationDir": "./dist",
|
||||||
|
"outDir": "./dist"
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue