template-syncer 1.0.0 → 1.0.1

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,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- const TemplateSyncer = require('../src/index');
3
+ const TemplateSyncer = require('../lib/index');
4
4
 
5
5
  // 解析命令行参数
6
6
  const args = process.argv.slice(2);
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "template-syncer",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "智能模板同步工具 - 让你的项目与模板仓库保持同步,支持智能合并、差异对比和交互式更新",
5
5
  "main": "lib/index.js",
6
6
  "bin": {
7
7
  "template-sync": "bin/template-sync.js"
8
- },
9
- "scripts": {
8
+ }, "scripts": {
10
9
  "build": "node build.js",
11
10
  "test": "node test/test.js",
12
11
  "start": "node bin/template-sync.js",
13
- "dev": "node bin/template-sync.js --verbose"
12
+ "dev": "node bin/template-sync.js --verbose",
13
+ "publish:npm": "npm run build && npm publish --registry https://registry.npmjs.org",
14
+ "prepublishOnly": "npm run build"
14
15
  },
15
16
  "keywords": [
16
17
  "template",