mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-12 17:45:49 +08:00
This will be used to build out mocking in the devtools frontend unit tests. DISABLE_THIRD_PARTY_CHECK=message doesn't apply with this change (checked with aerotwist@). Change-Id: Ie623b4fb35677c8c4a5e52d5e75180346da6e3fd Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2050225 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Reviewed-by: Paul Lewis <aerotwist@chromium.org>
77 lines
1.9 KiB
JSON
77 lines
1.9 KiB
JSON
{
|
|
"author": "",
|
|
"browser": {
|
|
"jsdom": false,
|
|
"jsdom-global": false
|
|
},
|
|
"dependencies": {
|
|
"@sinonjs/commons": "^1.7.0",
|
|
"@sinonjs/formatio": "^4.0.1",
|
|
"@sinonjs/text-encoding": "^0.7.1",
|
|
"just-extend": "^4.0.2",
|
|
"lolex": "^5.0.1",
|
|
"path-to-regexp": "^1.7.0"
|
|
},
|
|
"description": "Fake XHR and server",
|
|
"devDependencies": {
|
|
"@sinonjs/referee": "^3.2.0",
|
|
"browserify": "^16.2.3",
|
|
"eslint": "^6.1.0",
|
|
"eslint-config-sinon": "^1.0.1",
|
|
"eslint-plugin-ie11": "1.0.0",
|
|
"eslint-plugin-mocha": "^6.1.1",
|
|
"husky": "^3.0.7",
|
|
"jsdom": "^15.1.1",
|
|
"jsdom-global": "3.0.2",
|
|
"mocha": "^6.2.0",
|
|
"mochify": "^6.6.0",
|
|
"nyc": "^14.1.1",
|
|
"proxyquire": "^2.1.3",
|
|
"proxyquire-universal": "^2.1.0",
|
|
"proxyquireify": "^3.2.1",
|
|
"sinon": "^7.3.2"
|
|
},
|
|
"files": [
|
|
"nise.js",
|
|
"lib/**/*.js"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint -- --fix && npm run test",
|
|
"pre-push": "npm run lint && npm run test"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"test",
|
|
"testing",
|
|
"fake",
|
|
"mock",
|
|
"xhr",
|
|
"server"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"main": "lib/index.js",
|
|
"module": "nise.js",
|
|
"name": "nise",
|
|
"nyc": {
|
|
"exclude": [
|
|
"nise.js",
|
|
"coverage/**",
|
|
"**/*.test.js"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "http://github.com/sinonjs/nise.git"
|
|
},
|
|
"scripts": {
|
|
"bundle": "browserify --no-detect-globals -s nise -o nise.js lib/index.js",
|
|
"lint": "eslint .",
|
|
"prepublish": "npm run bundle",
|
|
"prepublishOnly": "mkdocs gh-deploy -r upstream || mkdocs gh-deploy -r origin",
|
|
"test": "mocha lib/**/*.test.js",
|
|
"test:coverage": "nyc --reporter=lcov --reporter=text --all npm test -- --reporter dot",
|
|
"test:headless": "mochify --https-server --plugin [ proxyquire-universal ] --no-detect-globals test/global-hack.js lib/**/*.test.js"
|
|
},
|
|
"version": "3.0.1"
|
|
} |