remove version from package

pull/38/head
cupcakearmy 4 years ago
parent d49e0d3836
commit 0ead9e0da1
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

@ -1,11 +1,10 @@
{ {
"private": true, "private": true,
"version": "0.27",
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"dev": "tsc -w", "dev": "tsc -w",
"move": "mv bin/index-linux bin/autorestic_linux_x64 && mv bin/index-macos bin/autorestic_macos_x64", "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:build": "codedoc install && codedoc build",
"docs:dev": "codedoc serve" "docs:dev": "codedoc serve"
}, },

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

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

Loading…
Cancel
Save