mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-01 09:47:56 +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>
116 lines
2.8 KiB
JSON
116 lines
2.8 KiB
JSON
{
|
|
"name": "vfile",
|
|
"version": "4.2.1",
|
|
"description": "Virtual file format for text processing",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"vfile",
|
|
"virtual",
|
|
"file",
|
|
"text",
|
|
"processing",
|
|
"message",
|
|
"warning",
|
|
"error",
|
|
"remark",
|
|
"retext",
|
|
"rehype"
|
|
],
|
|
"repository": "vfile/vfile",
|
|
"bugs": "https://github.com/vfile/vfile/issues",
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/unified"
|
|
},
|
|
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
"contributors": [
|
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
"Brendan Abbott <brendan.abbott@temando.com>",
|
|
"Denys Dovhan <email@denysdovhan.com>",
|
|
"Kyle Mathews <mathews.kyle@gmail.com>",
|
|
"Shinnosuke Watanabe <snnskwtnb@gmail.com>",
|
|
"Sindre Sorhus <sindresorhus@gmail.com>"
|
|
],
|
|
"types": "types/index.d.ts",
|
|
"browser": {
|
|
"./lib/minpath.js": "./lib/minpath.browser.js",
|
|
"./lib/minproc.js": "./lib/minproc.browser.js"
|
|
},
|
|
"react-native": {
|
|
"./lib/minpath.js": "./lib/minpath.browser.js",
|
|
"./lib/minproc.js": "./lib/minproc.browser.js"
|
|
},
|
|
"files": [
|
|
"lib/",
|
|
"types/index.d.ts",
|
|
"index.js",
|
|
"core.js"
|
|
],
|
|
"dependencies": {
|
|
"@types/unist": "^2.0.0",
|
|
"is-buffer": "^2.0.0",
|
|
"unist-util-stringify-position": "^2.0.0",
|
|
"vfile-message": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^17.0.0",
|
|
"dtslint": "^4.0.0",
|
|
"nyc": "^15.0.0",
|
|
"prettier": "^2.0.0",
|
|
"remark-cli": "^9.0.0",
|
|
"remark-preset-wooorm": "^8.0.0",
|
|
"tape": "^5.0.0",
|
|
"tinyify": "^3.0.0",
|
|
"xo": "^0.35.0"
|
|
},
|
|
"scripts": {
|
|
"format": "remark . -qfo && prettier . --write && xo --fix",
|
|
"build-bundle": "browserify . -s VFile -o vfile.js",
|
|
"build-mangle": "browserify . -s VFile -o vfile.min.js -p tinyify",
|
|
"build": "npm run build-bundle && npm run build-mangle",
|
|
"test-api": "node test",
|
|
"test-coverage": "nyc --reporter lcov tape test.js",
|
|
"test-types": "dtslint types",
|
|
"test": "npm run format && npm run build && npm run test-coverage && npm run test-types"
|
|
},
|
|
"nyc": {
|
|
"check-coverage": true,
|
|
"lines": 100,
|
|
"functions": 100,
|
|
"branches": 100
|
|
},
|
|
"prettier": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"semi": false,
|
|
"trailingComma": "none"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"esnext": false,
|
|
"ignores": [
|
|
"types",
|
|
"vfile.js"
|
|
],
|
|
"rules": {
|
|
"unicorn/explicit-length-check": "off",
|
|
"unicorn/prefer-includes": "off",
|
|
"unicorn/prefer-reflect-apply": "off",
|
|
"unicorn/prefer-number-properties": "off",
|
|
"max-depth": "off",
|
|
"complexity": "off"
|
|
}
|
|
},
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm",
|
|
[
|
|
"lint-no-html",
|
|
false
|
|
]
|
|
]
|
|
}
|
|
}
|