Updated the Bootstrap theme.
[yaffs-website] / web / core / package.json
1 {
2   "name": "Drupal",
3   "description": "Drupal is an open source content management platform powering millions of websites and applications.",
4   "license": "GPL-2.0",
5   "private": true,
6   "engines": {
7     "yarn": ">= 1.6",
8     "node": ">= 8.11"
9   },
10   "scripts": {
11     "build:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
12     "build:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-build.js",
13     "watch:js": "cross-env BABEL_ENV=legacy node ./scripts/js/babel-es6-watch.js",
14     "watch:js-dev": "cross-env NODE_ENV=development BABEL_ENV=legacy node ./scripts/js/babel-es6-watch.js",
15     "lint:core-js": "node ./node_modules/eslint/bin/eslint.js .",
16     "lint:core-js-passing": "node ./node_modules/eslint/bin/eslint.js --quiet --config=.eslintrc.passing.json .",
17     "lint:core-js-stats": "node ./node_modules/eslint/bin/eslint.js --format=./scripts/js/eslint-stats-by-type.js .",
18     "lint:css": "stylelint \"**/*.css\"",
19     "lint:css-checkstyle": "stylelint \"**/*.css\" --custom-formatter ./node_modules/stylelint-checkstyle-formatter/index.js",
20     "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",
21     "prettier": "prettier --write \"./**/*.es6.js\" \"./tests/Drupal/Nightwatch/**/*.js\""
22   },
23   "devDependencies": {
24     "babel-core": "^6.26.0",
25     "babel-plugin-add-header-comment": "^1.0.3",
26     "babel-preset-env": "^1.4.0",
27     "chalk": "^2.3.0",
28     "chokidar": "^2.0.0",
29     "chromedriver": "^2.35.0",
30     "cross-env": "^5.1.3",
31     "dotenv-safe": "^5.0.1",
32     "eslint": "^4.19.1",
33     "eslint-config-airbnb": "^17.0.0",
34     "eslint-config-prettier": "^2.9.0",
35     "eslint-plugin-import": "^2.13.0",
36     "eslint-plugin-jsx-a11y": "^6.0.3",
37     "eslint-plugin-prettier": "^2.6.2",
38     "eslint-plugin-react": "^7.10.0",
39     "glob": "^7.1.2",
40     "minimist": "^1.2.0",
41     "mkdirp": "^0.5.1",
42     "nightwatch": "^0.9.20",
43     "prettier": "^1.14.0",
44     "stylelint": "^9.1.1",
45     "stylelint-checkstyle-formatter": "^0.1.1",
46     "stylelint-config-standard": "^18.2.0",
47     "stylelint-no-browser-hacks": "^1.1.0"
48   },
49   "//": "'development is the default environment, and legacy is for transpiling the old jQuery codebase",
50   "babel": {
51     "env": {
52       "development": {
53         "presets": [
54           [
55             "env",
56             {
57               "modules": "commonjs",
58               "targets": {
59                 "node": "current"
60               }
61             }
62           ]
63         ]
64       },
65       "legacy": {
66         "presets": [
67           [
68             "env",
69             {
70               "modules": false,
71               "targets": {
72                 "browsers": [
73                   "ie >= 9",
74                   "edge >= 13",
75                   "firefox >= 5",
76                   "opera >= 12",
77                   "safari >= 5",
78                   "chrome >= 56"
79                 ]
80               }
81             }
82           ]
83         ]
84       }
85     }
86   }
87 }