|
72 | 72 | "standard-version": "7.1.0" |
73 | 73 | }, |
74 | 74 | "scripts": { |
75 | | - "examples:browser-webpack:build": "cd examples/browser-webpack && npm install && npm run build", |
76 | | - "examples:browser-rollup:build": "cd examples/browser-rollup && npm install && npm run build", |
77 | | - "examples:browser-esmodules:build": "cd examples/browser-esmodules && npm install && npm run build", |
| 75 | + "examples:browser:webpack:build": "cd examples/browser-webpack && npm install && npm run build", |
| 76 | + "examples:browser:rollup:build": "cd examples/browser-rollup && npm install && npm run build", |
| 77 | + "examples:node:commonjs:test": "cd examples/node-commonjs && npm install && npm test", |
| 78 | + "examples:node:esmodules:test": "cd examples/node-esmodules && npm install && npm test", |
78 | 79 | "lint": "npm run eslint:check && npm run prettier:check", |
79 | 80 | "eslint:check": "eslint src/ test/ examples/ *.js", |
80 | 81 | "eslint:fix": "eslint --fix src/ test/ examples/ *.js", |
81 | 82 | "pretest": "[ -n $CI ] || npm run build", |
82 | 83 | "test": "BABEL_ENV=commonjs node --throw-deprecation node_modules/.bin/jest test/unit/", |
83 | | - "pretest:browser": "npm run build && npm-run-all --parallel examples:**", |
| 84 | + "pretest:browser": "npm run build && npm-run-all --parallel examples:browser:**", |
84 | 85 | "test:browser": "wdio run ./wdio.conf.js", |
| 86 | + "pretest:node": "npm run build", |
| 87 | + "test:node": "npm-run-all --parallel examples:node:**", |
85 | 88 | "prettier:check": "prettier --ignore-path .prettierignore --check '**/*.{js,jsx,json,md}'", |
86 | 89 | "prettier:fix": "prettier --ignore-path .prettierignore --write '**/*.{js,jsx,json,md}'", |
87 | 90 | "bundlewatch": "npm run pretest:browser && bundlewatch --config bundlewatch.config.json", |
|
0 commit comments