2016-10-13 23:53:15 +00:00
|
|
|
{
|
|
|
|
"name": "Drupal",
|
|
|
|
"description": "Drupal is an open source content management platform powering millions of websites and applications.",
|
|
|
|
"license": "GPL-2.0",
|
|
|
|
"private": true,
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"engines": {
|
|
|
|
"yarn": ">= 1.6",
|
|
|
|
"node": ">= 8.11"
|
|
|
|
},
|
2016-10-13 23:53:15 +00:00
|
|
|
"scripts": {
|
2019-10-07 14:29:07 +00:00
|
|
|
"build": "yarn build:css & yarn build:js",
|
|
|
|
"watch": "yarn watch:css & yarn watch:js",
|
|
|
|
"build:css": "cross-env BABEL_ENV=legacy node ./scripts/css/postcss-build.js",
|
|
|
|
"watch:css": "cross-env BABEL_ENV=legacy node ./scripts/css/postcss-watch.js",
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"build:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
|
2018-10-05 10:45:38 +00:00
|
|
|
"build:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"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",
|
2018-05-31 11:06:29 +00:00
|
|
|
"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",
|
2018-08-08 16:58:48 +00:00
|
|
|
"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\""
|
2016-10-13 23:53:15 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2019-10-07 14:29:07 +00:00
|
|
|
"autoprefixer": "^9.6.1",
|
2018-01-29 06:21:50 +00:00
|
|
|
"babel-core": "^6.26.0",
|
|
|
|
"babel-plugin-add-header-comment": "^1.0.3",
|
|
|
|
"babel-preset-env": "^1.4.0",
|
|
|
|
"chalk": "^2.3.0",
|
|
|
|
"chokidar": "^2.0.0",
|
2019-08-29 03:06:12 +00:00
|
|
|
"chromedriver": "^75.1.0",
|
2018-01-29 06:21:50 +00:00
|
|
|
"cross-env": "^5.1.3",
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"dotenv-safe": "^5.0.1",
|
2018-07-03 17:02:15 +00:00
|
|
|
"eslint": "^4.19.1",
|
|
|
|
"eslint-config-airbnb": "^17.0.0",
|
2018-08-08 16:58:48 +00:00
|
|
|
"eslint-config-prettier": "^2.9.0",
|
2018-07-03 17:02:15 +00:00
|
|
|
"eslint-plugin-import": "^2.13.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
2018-08-08 16:58:48 +00:00
|
|
|
"eslint-plugin-prettier": "^2.6.2",
|
2018-07-03 17:02:15 +00:00
|
|
|
"eslint-plugin-react": "^7.10.0",
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"glob": "^7.1.2",
|
2017-05-22 22:52:50 +00:00
|
|
|
"minimist": "^1.2.0",
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"mkdirp": "^0.5.1",
|
2019-08-29 03:06:12 +00:00
|
|
|
"nightwatch": "^1.2.1",
|
2019-10-07 14:29:07 +00:00
|
|
|
"postcss": "^7.0.18",
|
|
|
|
"postcss-calc": "^7.0.1",
|
|
|
|
"postcss-custom-properties": "^9.0.2",
|
|
|
|
"postcss-header": "^1.0.0",
|
|
|
|
"postcss-import": "^12.0.1",
|
2018-08-08 16:58:48 +00:00
|
|
|
"prettier": "^1.14.0",
|
2019-03-14 08:00:17 +00:00
|
|
|
"stylelint": "^9.10.1",
|
2018-01-29 06:21:50 +00:00
|
|
|
"stylelint-checkstyle-formatter": "^0.1.1",
|
2018-03-04 21:23:26 +00:00
|
|
|
"stylelint-config-standard": "^18.2.0",
|
2019-08-29 03:06:12 +00:00
|
|
|
"stylelint-no-browser-hacks": "^1.2.1",
|
2019-04-01 17:16:16 +00:00
|
|
|
"stylelint-order": "^2.1.0"
|
2016-10-13 23:53:15 +00:00
|
|
|
},
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"//": "'development is the default environment, and legacy is for transpiling the old jQuery codebase",
|
2016-10-13 23:53:15 +00:00
|
|
|
"babel": {
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
"env": {
|
|
|
|
"development": {
|
|
|
|
"presets": [
|
|
|
|
[
|
|
|
|
"env",
|
|
|
|
{
|
|
|
|
"modules": "commonjs",
|
|
|
|
"targets": {
|
|
|
|
"node": "current"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"legacy": {
|
|
|
|
"presets": [
|
|
|
|
[
|
|
|
|
"env",
|
|
|
|
{
|
2019-10-07 14:29:07 +00:00
|
|
|
"modules": false
|
Issue #2869825 by justafish, dawehner, alexpott, martin107, jibran, Lendude, Mixologic, michielnugter, droplet, drpal, lauriii, effulgentsia, mglaman: Leverage JS for JS testing (using nightwatch)
2018-05-07 12:31:07 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
2019-10-07 14:29:07 +00:00
|
|
|
},
|
|
|
|
"browserslist": [
|
|
|
|
"ie >= 9",
|
|
|
|
"edge >= 13",
|
|
|
|
"firefox >= 5",
|
|
|
|
"opera >= 12",
|
|
|
|
"safari >= 5",
|
|
|
|
"chrome >= 56"
|
|
|
|
]
|
2016-10-13 23:53:15 +00:00
|
|
|
}
|