mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 04:48:25 +01:00
0f989b3ae3
This updates the 4.7 branch to support the latest LTS version of NodeJS (currently 14.x), allowing the same version to be used across all WordPress branches that receive security updates as a courtesy. This also replaces the `npm-shrinkwrap.json` with a `package-lock.json` file. Lock files were not supported in earlier versions of NPM, but can now be used. In addition to backporting the package updates that happened after branching 4.7, dependencies that were removed in future releases have also been updated to their latest versions. Props desrosj, dd32, netweb, jorbin. Merges [42460-42461,42463,42887,43320,43323,43977,44219,44233,44728,45321,45765,46404,46408-46409,47404,47867-47869,47872-47873,48705,49636,49933,49937,49939,50017,50126,50176,50185,50192] to the 4.7 branch. See #52341. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@50204 602fd350-edb4-49c9-b593-d223f7449a82
70 lines
2.1 KiB
JSON
70 lines
2.1 KiB
JSON
{
|
|
"name": "WordPress",
|
|
"version": "4.7.19",
|
|
"description": "WordPress is web software you can use to create a beautiful website or blog.",
|
|
"repository": {
|
|
"type": "svn",
|
|
"url": "https://develop.svn.wordpress.org/trunk"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.15.0",
|
|
"npm": ">=6.14.8"
|
|
},
|
|
"author": "The WordPress Contributors",
|
|
"license": "GPL-2.0+",
|
|
"browserslist": [
|
|
"Android >= 2.1",
|
|
"Chrome >= 21",
|
|
"Edge >= 12",
|
|
"Explorer >= 7",
|
|
"Firefox >= 17",
|
|
"Opera >= 12.1",
|
|
"Safari >= 6.0"
|
|
],
|
|
"devDependencies": {
|
|
"autoprefixer": "^9.8.6",
|
|
"dotenv": "^8.2.0",
|
|
"dotenv-expand": "^5.1.0",
|
|
"grunt": "~1.3.0",
|
|
"grunt-browserify": "~5.3.0",
|
|
"grunt-contrib-clean": "~2.0.0",
|
|
"grunt-contrib-compress": "~2.0.0",
|
|
"grunt-contrib-concat": "1.0.1",
|
|
"grunt-contrib-copy": "~1.0.0",
|
|
"grunt-contrib-cssmin": "~3.0.0",
|
|
"grunt-contrib-imagemin": "~4.0.0",
|
|
"grunt-contrib-jshint": "3.0.0",
|
|
"grunt-contrib-qunit": "^4.0.0",
|
|
"grunt-contrib-uglify": "~5.0.0",
|
|
"grunt-contrib-watch": "~1.1.0",
|
|
"grunt-includes": "~1.1.0",
|
|
"grunt-jsvalidate": "~0.2.2",
|
|
"grunt-legacy-util": "^2.0.0",
|
|
"grunt-patch-wordpress": "~3.0.0",
|
|
"grunt-postcss": "~0.9.0",
|
|
"grunt-rtlcss": "~2.0.2",
|
|
"grunt-sass": "~3.1.0",
|
|
"matchdep": "~2.0.0",
|
|
"sass": "^1.32.6",
|
|
"wait-on": "~5.2.1"
|
|
},
|
|
"scripts": {
|
|
"build": "grunt build",
|
|
"build:dev": "grunt build --dev",
|
|
"dev": "grunt watch --dev",
|
|
"test": "grunt test",
|
|
"watch": "grunt watch",
|
|
"grunt": "grunt",
|
|
"env:start": "node ./tools/local-env/scripts/start.js",
|
|
"env:stop": "node ./tools/local-env/scripts/docker.js down",
|
|
"env:restart": "npm run env:stop && npm run env:start",
|
|
"env:clean": "node ./tools/local-env/scripts/docker.js down -v --remove-orphans",
|
|
"env:reset": "node ./tools/local-env/scripts/docker.js down --rmi all -v --remove-orphans",
|
|
"env:install": "node ./tools/local-env/scripts/install.js",
|
|
"env:cli": "node ./tools/local-env/scripts/docker.js run cli",
|
|
"env:logs": "node ./tools/local-env/scripts/docker.js logs",
|
|
"env:pull": "node ./tools/local-env/scripts/docker.js pull",
|
|
"test:php": "node ./tools/local-env/scripts/docker.js run --rm phpunit phpunit"
|
|
}
|
|
}
|