remove version from package

This commit is contained in:
cupcakearmy 2020-12-19 17:32:13 +01:00
parent d49e0d3836
commit 0ead9e0da1
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
3 changed files with 3 additions and 5 deletions

View File

@ -1,11 +1,10 @@
{
"private": true,
"version": "0.27",
"scripts": {
"build": "tsc",
"dev": "tsc -w",
"move": "mv bin/index-linux bin/autorestic_linux_x64 && mv bin/index-macos bin/autorestic_macos_x64",
"bin": "yarn run build && pkg dist/src/index.js --targets latest-macos-x64,latest-linux-x64 --out-path bin && yarn run move",
"bin": "yarn run build && pkg dist/index.js --targets latest-macos-x64,latest-linux-x64 --out-path bin && yarn run move",
"docs:build": "codedoc install && codedoc build",
"docs:dev": "codedoc serve"
},

View File

@ -5,7 +5,6 @@ import { setCIMode } from 'clitastic'
import { unlock, readLock, writeLock, lock } from './lock'
import { Config } from './types'
import { init } from './config'
import { version } from '../package.json'
import info from './handlers/info'
import check from './handlers/check'
@ -18,7 +17,7 @@ import install from './handlers/install'
import { uninstall } from './handlers/uninstall'
import { upgrade } from './handlers/upgrade'
export const VERSION = version
export const VERSION = '0.27'
export const INSTALL_DIR = '/usr/local/bin'
let requireConfig: boolean = true

View File

@ -9,5 +9,5 @@
"alwaysStrict": true,
"strictNullChecks": true
},
"include": ["./src", "./package.json"]
"include": ["./src"]
}