mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
DISABLE_THIRD_PARTY_CHECK=updating node_modules deps Change-Id: I37d4670cf18e26e8caa8a5b1ca19c8f187244bac Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2259851 Commit-Queue: Mathias Bynens <mathias@chromium.org> Auto-Submit: Mathias Bynens <mathias@chromium.org> Reviewed-by: Tim van der Lippe <tvanderlippe@chromium.org>
95 lines
2.5 KiB
JSON
95 lines
2.5 KiB
JSON
{
|
|
"authors": [
|
|
"Jason Miller <jason@developit.ca>"
|
|
],
|
|
"description": "Tiny 200b functional Event Emitter / pubsub.",
|
|
"devDependencies": {
|
|
"@types/chai": "^4.2.11",
|
|
"@types/mocha": "^7.0.2",
|
|
"@types/sinon": "^9.0.4",
|
|
"@types/sinon-chai": "^3.2.4",
|
|
"@typescript-eslint/eslint-plugin": "^3.0.1",
|
|
"@typescript-eslint/parser": "^3.0.1",
|
|
"chai": "^4.2.0",
|
|
"documentation": "^13.0.0",
|
|
"eslint": "^7.1.0",
|
|
"eslint-config-developit": "^1.2.0",
|
|
"esm": "^3.2.25",
|
|
"microbundle": "^0.12.0",
|
|
"mocha": "^7.2.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"rimraf": "^3.0.2",
|
|
"sinon": "^9.0.2",
|
|
"sinon-chai": "^3.5.0",
|
|
"ts-node": "^8.10.1",
|
|
"typescript": "^3.9.3"
|
|
},
|
|
"eslintConfig": {
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"jest": false,
|
|
"mocha": true
|
|
},
|
|
"extends": [
|
|
"developit",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"globals": {
|
|
"expect": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"@typescript-eslint/explicit-function-return-type": 0,
|
|
"@typescript-eslint/explicit-module-boundary-types": 0,
|
|
"@typescript-eslint/no-empty-function": 0,
|
|
"@typescript-eslint/no-explicit-any": 0,
|
|
"jest/valid-expect": 0,
|
|
"semi": [
|
|
2,
|
|
"always"
|
|
]
|
|
}
|
|
},
|
|
"eslintIgnore": [
|
|
"dist"
|
|
],
|
|
"esmodules": "dist/mitt.modern.js",
|
|
"files": [
|
|
"src",
|
|
"dist"
|
|
],
|
|
"homepage": "https://github.com/developit/mitt",
|
|
"jsnext:main": "dist/mitt.es.js",
|
|
"keywords": [
|
|
"events",
|
|
"eventemitter",
|
|
"emitter",
|
|
"pubsub"
|
|
],
|
|
"license": "MIT",
|
|
"main": "dist/mitt.js",
|
|
"module": "dist/mitt.es.js",
|
|
"name": "mitt",
|
|
"repository": "developit/mitt",
|
|
"scripts": {
|
|
"build": "npm-run-all --silent clean -p bundle -s docs",
|
|
"bundle": "microbundle",
|
|
"clean": "rimraf dist",
|
|
"docs": "documentation readme src/index.ts --section API -q --parse-extension ts",
|
|
"lint": "eslint src test --ext ts --ext js",
|
|
"release": "npm run -s build -s && npm t && git commit -m $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish",
|
|
"test": "npm-run-all --silent typecheck lint testonly",
|
|
"testonly": "mocha --require esm test/**/*.js",
|
|
"typecheck": "tsc **/*.ts --noEmit"
|
|
},
|
|
"source": "src/index.ts",
|
|
"typings": "dist/index.d.ts",
|
|
"umd:main": "dist/mitt.umd.js",
|
|
"version": "2.0.1"
|
|
}
|