Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
busticated committed Feb 15, 2020
1 parent 0ceb3c2 commit 77630b0
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 13 deletions.
6 changes: 6 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"packages": [
"packages/*"
],
"version": "independent"
}
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@
"license": "UNLICENSED",
"private": true,
"scripts": {
"start": "cd packages/cli && npm start",
"postinstall": "npm run bootstrap",
"bootstrap": "lerna bootstrap",
"reinstall": "npm run clean:modules && npm run bootstrap",
"clean": "lerna run clean",
"clean:modules": "lerna run clean:modules",
"lint": "eslint . --ext .js --ignore-path .gitignore",
"lint:fix": "npm run lint -- --fix",
"test:unit": "lerna run test:unit --stream",
"test:unit:watch": "lerna run test:unit:watch --stream",
"test:unit:inspect": "lerna run test:unit:inspect --stream",
"test:integration": "lerna run test:integration --stream",
"test:integration:watch": "lerna run test:integration:watch --stream",
"test:integration:inspect": "lerna run test:integration:inspect --stream",
"test:e2e": "lerna run test:e2e --stream",
"test:e2e:watch": "lerna run test:e2e:watch --stream",
"test:e2e:inspect": "lerna run test:e2e:inspect --stream",
"coverage": "lerna run coverage",
"coverage:unit": "lerna run coverage:unit",
"coverage:integration": "lerna run coverage:integration",
"coverage:e2e": "lerna run coverage:e2e"
},
"devDependencies": {
"@babel/cli": "^7.7.4",
Expand Down
39 changes: 31 additions & 8 deletions packages/cli/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,21 +75,19 @@
"start": "node --require @babel/register ./src/index.js",
"prepare": "npm run compile",
"version": "npm run update-changelog",
"lint": "eslint . --ext .js --ignore-path .gitignore --format unix",
"lint:fix": "npm run lint -- --fix",
"test": "npm run lint && npm run test:unit && npm run test:integration && npm run test:e2e",
"test:ci": "npm run lint && npm run test:unit:ci && npm run test:integration:ci && npm run test:e2e:ci",
"test:unit": "mocha 'src/**/*.test.js' --exclude 'test/**/*.e2e.js' --require @babel/register",
"test:unit": "mocha 'src/**/*.test.js' --exclude 'test/**/*.e2e.js' --require @babel/register --color",
"test:unit:ci": "npm run test:unit -- --forbid-only",
"test:unit:watch": "npm run test:unit -- --watch --watch-extensions js,json",
"test:unit:inspect": "npm test:unit -- --inspect-brk",
"test:unit:silent": "PARTICLE_NOOP=$(npm run test:unit:ci)",
"test:integration": "mocha test/integration --require @babel/register",
"test:integration": "mocha test/integration --require @babel/register --color",
"test:integration:ci": "npm run test:integration -- --forbid-only",
"test:integration:watch": "npm run test:integration -- --watch --watch-extensions js,json",
"test:integration:inspect": "npm test:integration -- --inspect-brk",
"test:integration:silent": "PARTICLE_NOOP=$(npm run test:integration:ci)",
"test:e2e": "npm run compile && mocha 'test/**/*.e2e.js' --require @babel/register --timeout 120000 --exit",
"test:e2e": "npm run compile && mocha 'test/**/*.e2e.js' --require @babel/register --timeout 120000 --exit --color",
"test:e2e:ci": "npm run test:e2e:no-device -- --forbid-only",
"test:e2e:no-device": "npm run test:e2e -- --grep @device --invert",
"test:e2e:watch": "npm run test:e2e -- --watch --watch-extensions js,json",
Expand All @@ -116,6 +114,7 @@
"cli-spinner": "^0.2.10",
"cli-table": "^0.3.1",
"core-js": "^3.4.7",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"handlebars": "^4.1.2",
"inquirer": "^6.5.2",
Expand Down

0 comments on commit 77630b0

Please sign in to comment.