Comparing version 2.1.1 to 2.2.0
{ | ||
"name": "vue-cli", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "A simple CLI for scaffolding Vue.js projects.", | ||
@@ -27,3 +27,3 @@ "preferGlobal": true, | ||
"test": "npm run lint && npm run e2e", | ||
"lint": "eslint test/test.js lib bin/* --env mocha", | ||
"lint": "eslint test/e2e/test.js lib bin/* --env mocha", | ||
"e2e": "rimraf test/e2e/mock-template-build/*.* && cross-env BABEL_ENV=development mocha test/e2e/test.js --slow 1000 --compilers js:babel-core/register" | ||
@@ -30,0 +30,0 @@ }, |
@@ -53,3 +53,3 @@ const { expect } = require('chai') | ||
it('read metadata from js', done => { | ||
const meta = metadata('test-pkg', __dirname + '/mock-metadata-repo-js') | ||
const meta = metadata('test-pkg', path.join(__dirname, '/mock-metadata-repo-js')) | ||
expect(meta).to.be.an('object') | ||
@@ -62,3 +62,3 @@ expect(meta.prompts).to.have.property('description') | ||
monkeyPatchInquirer(answers) | ||
const buildPath = __dirname + '/mock-metadata-repo-js' | ||
const buildPath = path.join(__dirname, '/mock-metadata-repo-js') | ||
generate('test', buildPath, MOCK_TEMPLATE_BUILD_PATH, err => { | ||
@@ -65,0 +65,0 @@ if (err) done(err) |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29837