mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-28 21:24:26 +08:00
The CSS minifier we currently use (clean-css) is not maintained and lacks support for new CSS features. CSSNano is a replacement that supports features we need (primarily container queries). This CL only adds the relevant dependencies, and does not use it. I will do that (and remove clean-css) in a follow-up. Bug: 1399763 Change-Id: I899ecc4482164404dd5ac2fd13f92fb797978e29 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4092305 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> Auto-Submit: Jack Franklin <jacktfranklin@chromium.org>
48 lines
1.0 KiB
JSON
48 lines
1.0 KiB
JSON
{
|
|
"name": "caniuse-api",
|
|
"version": "3.0.0",
|
|
"description": "request the caniuse data to check browsers compatibilities",
|
|
"repository": "https://github.com/nyalab/caniuse-api.git",
|
|
"keywords": [
|
|
"caniuse",
|
|
"browserslist"
|
|
],
|
|
"authors": [
|
|
"nyalab",
|
|
"MoOx"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/index.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"dependencies": {
|
|
"browserslist": "^4.0.0",
|
|
"caniuse-lite": "^1.0.0",
|
|
"lodash.memoize": "^4.1.2",
|
|
"lodash.uniq": "^4.5.0"
|
|
},
|
|
"devDependencies": {
|
|
"babel-cli": "^6.22.2",
|
|
"babel-eslint": "^5.0.0",
|
|
"babel-preset-latest": "^6.22.0",
|
|
"babel-tape-runner": "^2.0.1",
|
|
"jshint": "^2.5.10",
|
|
"npmpub": "^3.1.0",
|
|
"tap-spec": "^4.1.1",
|
|
"tape": "^4.6.0"
|
|
},
|
|
"scripts": {
|
|
"build": "babel src --out-dir dist",
|
|
"lint": "jshint src",
|
|
"prepublish": "npm run build",
|
|
"test": "npm run lint && babel-tape-runner test/*.js | tap-spec",
|
|
"release": "npmpub"
|
|
},
|
|
"babel": {
|
|
"presets": [
|
|
"babel-preset-latest"
|
|
]
|
|
}
|
|
}
|