mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-08 12:53:45 +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>
134 lines
4.0 KiB
JSON
134 lines
4.0 KiB
JSON
{
|
|
"name": "sinon",
|
|
"description": "JavaScript test spies, stubs and mocks.",
|
|
"keywords": [
|
|
"sinon",
|
|
"test",
|
|
"testing",
|
|
"unit",
|
|
"stub",
|
|
"spy",
|
|
"fake",
|
|
"time",
|
|
"clock",
|
|
"mock",
|
|
"xhr",
|
|
"assert"
|
|
],
|
|
"version": "9.2.4",
|
|
"homepage": "https://sinonjs.org/",
|
|
"author": "Christian Johansen",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/sinonjs/sinon.git"
|
|
},
|
|
"bugs": {
|
|
"url": "http://github.com/sinonjs/sinon/issues"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/sinon"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"scripts": {
|
|
"test-node": "mocha --recursive -R dot \"test/**/*-test.js\"",
|
|
"test-dev": "npm run test-node -- --watch -R min",
|
|
"test-headless": "mochify --no-detect-globals --recursive -R dot --grep WebWorker --invert --plugin [ proxyquire-universal ] \"test/**/*-test.js\"",
|
|
"test-coverage": "nyc npm run test-headless -- --transform [ babelify --ignore [ test ] --plugins [ babel-plugin-istanbul ] ]",
|
|
"test-cloud": "npm run test-headless -- --wd",
|
|
"test-webworker": "mochify --no-detect-globals --https-server 8080 --no-request-interception test/webworker/webworker-support-assessment.js",
|
|
"test-esm": "mocha -r esm test/es2015/module-support-assessment-test.es6",
|
|
"test-esm-bundle": "node test/es2015/check-esm-bundle-is-runnable.js",
|
|
"test-docker-image": "docker-compose up",
|
|
"test-runnable-examples": "docs/release-source/release/examples/run-test.sh",
|
|
"test": "npm run test-node && npm run test-headless && npm run test-webworker && npm run test-esm",
|
|
"check-dependencies": "dependency-check package.json --no-dev --ignore-module esm",
|
|
"build": "node ./build.js",
|
|
"build-docs": "cd docs; bundle exec jekyll build",
|
|
"serve-docs": "cd docs; bundle exec jekyll serve --incremental --verbose",
|
|
"lint": "eslint '**/*.{js,mjs}'",
|
|
"pretest-webworker": "npm run build",
|
|
"prebuild": "rimraf pkg && npm run check-dependencies",
|
|
"postbuild": "npm run test-esm-bundle",
|
|
"prepublishOnly": "npm run build",
|
|
"prettier": "prettier lib/**/*.js test/**/*.js",
|
|
"preversion": "./scripts/preversion.sh",
|
|
"postversion": "./scripts/postversion.sh"
|
|
},
|
|
"nyc": {
|
|
"instrument": false,
|
|
"temp-dir": "coverage/.nyc_output",
|
|
"reporter": [
|
|
"text",
|
|
"lcovonly"
|
|
]
|
|
},
|
|
"lint-staged": {
|
|
"*.js": "eslint",
|
|
"*.mjs": "eslint --ext mjs --parser-options=sourceType:module",
|
|
"docs/**/*.md": "markdownlint"
|
|
},
|
|
"dependencies": {
|
|
"@sinonjs/commons": "^1.8.1",
|
|
"@sinonjs/fake-timers": "^6.0.1",
|
|
"@sinonjs/samsam": "^5.3.1",
|
|
"diff": "^4.0.2",
|
|
"nise": "^4.0.4",
|
|
"supports-color": "^7.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.8.3",
|
|
"@sinonjs/eslint-plugin-no-prototype-methods": "^0.1.0",
|
|
"@sinonjs/referee": "^6.1.0",
|
|
"babel-plugin-istanbul": "^6.0.0",
|
|
"babelify": "^10.0.0",
|
|
"browserify": "^16.5.0",
|
|
"dependency-check": "^4.1.0",
|
|
"eslint": "^6.8.0",
|
|
"eslint-config-prettier": "^6.9.0",
|
|
"eslint-config-sinon": "^3.0.0",
|
|
"eslint-plugin-ie11": "^1.0.0",
|
|
"eslint-plugin-mocha": "^6.1.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"esm": "^3.2.25",
|
|
"husky": "^4.2.1",
|
|
"lint-staged": "^10.0.7",
|
|
"mocha": "^6.2.3",
|
|
"mochify": "^6.6.0",
|
|
"nyc": "^15.0.0",
|
|
"prettier": "^1.18.2",
|
|
"proxyquire": "^2.1.3",
|
|
"proxyquire-universal": "^2.1.0",
|
|
"proxyquireify": "^3.2.1",
|
|
"puppeteer": "^2.1.0",
|
|
"rimraf": "^3.0.0"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"pkg",
|
|
"scripts/support-sinon.js",
|
|
"AUTHORS",
|
|
"CONTRIBUTING.md",
|
|
"CHANGELOG.md",
|
|
"LICENSE",
|
|
"README.md"
|
|
],
|
|
"browser": "./lib/sinon.js",
|
|
"main": "./lib/sinon.js",
|
|
"module": "./pkg/sinon-esm.js",
|
|
"cdn": "./pkg/sinon.js",
|
|
"jsdelivr": "./pkg/sinon.js",
|
|
"esm": {
|
|
"cjs": {
|
|
"mutableNamespace": false,
|
|
"cache": true
|
|
},
|
|
"mode": "auto"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
}
|
|
}
|