mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 01:38:07 +08:00
This also adds Python-2.0 to the list of accepted licenses. Lastly, it fixes a bug where the package.json files were incorrectly reordered. For the `exports` of a particular package, the order that the entrypoints are defined in is crucial. Therefore, we should not alter the order of entrypoints and instead maintain the originally defined ordering. We can use an `OrderedDict` to ensure that Python always loads the JSON files in the same order. DISABLE_THIRD_PARTY_CHECK=NPM update R=jacktfranklin@chromium.org Bug: none Change-Id: I5a309782de6015edea6ba3b502aa0db1f008d973 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2692909 Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org> Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
107 lines
3.0 KiB
JSON
107 lines
3.0 KiB
JSON
{
|
|
"name": "yaml",
|
|
"version": "1.10.0",
|
|
"license": "ISC",
|
|
"author": "Eemeli Aro <eemeli@gmail.com>",
|
|
"repository": "github:eemeli/yaml",
|
|
"description": "JavaScript parser and stringifier for YAML",
|
|
"keywords": [
|
|
"YAML",
|
|
"parser",
|
|
"stringifier"
|
|
],
|
|
"homepage": "https://eemeli.org/yaml/",
|
|
"files": [
|
|
"browser/",
|
|
"dist/",
|
|
"types/",
|
|
"*.d.ts",
|
|
"*.js",
|
|
"*.mjs",
|
|
"!*config.js"
|
|
],
|
|
"type": "commonjs",
|
|
"main": "./index.js",
|
|
"browser": {
|
|
"./index.js": "./browser/index.js",
|
|
"./map.js": "./browser/map.js",
|
|
"./pair.js": "./browser/pair.js",
|
|
"./parse-cst.js": "./browser/parse-cst.js",
|
|
"./scalar.js": "./browser/scalar.js",
|
|
"./schema.js": "./browser/schema.js",
|
|
"./seq.js": "./browser/seq.js",
|
|
"./types.js": "./browser/types.js",
|
|
"./types.mjs": "./browser/types.js",
|
|
"./types/binary.js": "./browser/types/binary.js",
|
|
"./types/omap.js": "./browser/types/omap.js",
|
|
"./types/pairs.js": "./browser/types/pairs.js",
|
|
"./types/set.js": "./browser/types/set.js",
|
|
"./types/timestamp.js": "./browser/types/timestamp.js",
|
|
"./util.js": "./browser/util.js",
|
|
"./util.mjs": "./browser/util.js"
|
|
},
|
|
"exports": {
|
|
".": "./index.js",
|
|
"./parse-cst": "./parse-cst.js",
|
|
"./types": [
|
|
{
|
|
"import": "./types.mjs"
|
|
},
|
|
"./types.js"
|
|
],
|
|
"./util": [
|
|
{
|
|
"import": "./util.mjs"
|
|
},
|
|
"./util.js"
|
|
],
|
|
"./": "./"
|
|
},
|
|
"scripts": {
|
|
"build": "npm run build:node && npm run build:browser",
|
|
"build:browser": "rollup -c rollup.browser-config.js",
|
|
"build:node": "rollup -c rollup.node-config.js",
|
|
"clean": "git clean -fdxe node_modules",
|
|
"lint": "eslint src/",
|
|
"prettier": "prettier --write .",
|
|
"start": "cross-env TRACE_LEVEL=log npm run build:node && node -i -e 'YAML=require(\".\")'",
|
|
"test": "jest",
|
|
"test:dist": "npm run build:node && jest",
|
|
"test:types": "tsc --lib ES2017 --noEmit tests/typings.ts",
|
|
"docs:install": "cd docs-slate && bundle install",
|
|
"docs:deploy": "cd docs-slate && ./deploy.sh",
|
|
"docs": "cd docs-slate && bundle exec middleman server",
|
|
"preversion": "npm test && npm run build",
|
|
"prepublishOnly": "npm run clean && npm test && npm run build"
|
|
},
|
|
"browserslist": "> 0.5%, not dead",
|
|
"prettier": {
|
|
"arrowParens": "avoid",
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "none"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.9.6",
|
|
"@babel/plugin-proposal-class-properties": "^7.8.3",
|
|
"@babel/preset-env": "^7.9.6",
|
|
"@rollup/plugin-babel": "^5.0.0",
|
|
"babel-eslint": "^10.1.0",
|
|
"babel-jest": "^26.0.1",
|
|
"babel-plugin-trace": "^1.1.0",
|
|
"common-tags": "^1.8.0",
|
|
"cross-env": "^7.0.2",
|
|
"eslint": "^7.0.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"eslint-plugin-prettier": "^3.1.3",
|
|
"fast-check": "^1.24.2",
|
|
"jest": "^26.0.1",
|
|
"prettier": "^2.0.5",
|
|
"rollup": "^2.10.2",
|
|
"typescript": "^3.9.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 6"
|
|
}
|
|
}
|