Skip to content

Commit 07613c2

Browse files
committed
feat(create-ko): add init project
1 parent d41ef7a commit 07613c2

21 files changed

+67
-103
lines changed

packages/create-ko/package.json

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "create-ko",
3+
"version": "1.0.0",
4+
"description": "create react project with ko",
5+
"repository": {
6+
"type": "git",
7+
"url": "https://github.com/DTStack/ko",
8+
"directory": "packages/create-ko"
9+
},
10+
"main": "./src/index.ts",
11+
"bin": {
12+
"create": "./lib/cli.js"
13+
},
14+
"scripts": {
15+
"build": "tsc"
16+
},
17+
"author": "",
18+
"license": "ISC",
19+
"dependencies": {
20+
"commander": "^9.2.0",
21+
"inquirer": "^8.2.2"
22+
},
23+
"devDependencies": {
24+
"@types/inquirer": "^8.2.2"
25+
}
26+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

packages/create-ko/tsconfig.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extends": "@tsconfig/node14/tsconfig.json",
3+
"include": ["src/**/*.ts", "index.d.ts"],
4+
"exclude": ["src/**/*.test.ts"],
5+
"compilerOptions": {
6+
"allowJs": true,
7+
"skipLibCheck": true,
8+
"esModuleInterop": true,
9+
"strict": true,
10+
"strictPropertyInitialization": false,
11+
"outDir": "lib",
12+
},
13+
}

packages/ko/package.json

+2-4
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@
2929
"license": "MIT",
3030
"author": "DTStack",
3131
"bin": {
32-
"ko": "./lib/cli.js",
33-
"create-ko": "./lib/actions/init.js"
32+
"ko": "./lib/cli.js"
3433
},
3534
"files": [
36-
"lib/*",
37-
"template"
35+
"lib/*"
3836
],
3937
"scripts": {
4038
"prepublishOnly": "rm -rf lib && tsc",

0 commit comments

Comments
 (0)