UNPKG

better-npm-init

Version:

A better version of npm init, with templates and more. Usage: better-npm-init <template> [--yarn] [--install] [--git] [--yes] [--help]

27 lines (24 loc) 510 B
platform: - x64 environment: nodejs_version: '8' cache: - '%APPDATA%\npm-cache' - '%USERPROFILE%\.electron' - node_modules branches: only: - master - /^v\d+\.\d+\.\d+/ install: - ps: Install-Product node $env:nodejs_version $env:platform - set PATH=%APPDATA%\npm;%PATH% - npm install - npm update test_script: - node --version - npm --version - npm run lint - if %APPVEYOR_REPO_TAG% EQU false npm run make build_script: - IF %APPVEYOR_REPO_TAG% EQU true npm run publish