node-karin 0.6.20 → 0.6.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env node
2
1
  export declare class KarinInit {
3
2
  /**
4
3
  * 基础目录
package/lib/utils/init.js CHANGED
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env node
2
1
  import fs from 'fs'
3
2
  import path from 'path'
4
3
  import { exec } from 'child_process'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-karin",
3
- "version": "0.6.20",
3
+ "version": "0.6.21",
4
4
  "private": false,
5
5
  "description": "基于 Kritor 进行开发的nodejs机器人框架",
6
6
  "homepage": "https://github.com/KarinJS/Karin",
@@ -17,8 +17,8 @@
17
17
  "main": "./lib/index.js",
18
18
  "types": "./lib/index.d.ts",
19
19
  "bin": {
20
- "init": "./lib/cli/init.js",
21
- "log": "./lib/cli/log.js"
20
+ "init": "lib/cli/init.js",
21
+ "log": "lib/cli/log.js"
22
22
  },
23
23
  "files": [
24
24
  "/lib/**/*.js",
@@ -44,9 +44,6 @@
44
44
  "dev": "tsx ./lib/index.js --dev",
45
45
  "fix": "eslint lib/**/*.js --fix",
46
46
  "fix:all": "eslint lib/**/*.js --fix && eslint lib/**/*.ts --fix",
47
- "hook": "node lib/cli/hook.js",
48
- "init": "node lib/cli/install.js",
49
- "postinstall": "node lib/cli/postinstall.js",
50
47
  "log": "node lib/cli/log.js",
51
48
  "monit": "pm2 monit",
52
49
  "pub": "npm publish --access public",