Files
vant/packages/vant-cli/src/index.ts
neverland f46f59fce2 feat(cli): using postmessage (#8497)
* feat(cli): export action functions

* fix: listenToSyncPath

* fix: config.site.simulatorUrl
2021-04-10 15:44:55 +08:00

28 lines
664 B
TypeScript
Executable File

// @ts-ignore
import packageJson from '../package.json';
import { dev } from './commands/dev';
import { lint } from './commands/lint';
import { test } from './commands/jest';
import { clean } from './commands/clean';
import { build } from './commands/build';
import { release } from './commands/release';
import { changelog } from './commands/changelog';
import { buildSite } from './commands/build-site';
import { commitLint } from './commands/commit-lint';
export const cliVersion: string = packageJson.version;
process.env.VANT_CLI_VERSION = cliVersion;
export {
dev,
lint,
test,
clean,
build,
release,
changelog,
buildSite,
commitLint,
};