- "build:js": "node ./scripts/js/babel-es6-build.js",
- "build:js-dev": "cross-env NODE_ENV=development node ./scripts/js/babel-es6-build.js",
- "watch:js": "node ./scripts/js/babel-es6-watch.js",
- "watch:js-dev": "cross-env NODE_ENV=development node ./scripts/js/babel-es6-watch.js",
- "lint:core-js": "node ./node_modules/eslint/bin/eslint.js --ext=.es6.js . || exit 0",
- "lint:css": "stylelint \"**/*.css\" || exit 0",
- "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js || exit 0"
+ "build:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
+ "build:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
+ "watch:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-watch.js",
+ "watch:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-watch.js",
+ "lint:core-js": "node ./node_modules/eslint/bin/eslint.js .",
+ "lint:core-js-passing": "node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json .",
+ "lint:core-js-stats": "node ./node_modules/eslint/bin/eslint.js --format=./scripts/js/eslint-stats-by-type.js .",
+ "lint:css": "stylelint \"**/*.css\"",
+ "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js",
+ "test:nightwatch": "cross-env BABEL_ENV=development node -r dotenv-safe/config -r babel-register ./node_modules/.bin/nightwatch --config ./tests/Drupal/Nightwatch/nightwatch.conf.js",
+ "prettier": "prettier --write \"./**/*.es6.js\" \"./tests/Drupal/Nightwatch/**/*.js\""