-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
74 lines (74 loc) · 2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "@github/mini-throttle",
"version": "2.1.0",
"description": "",
"repository": {
"type": "git",
"url": "git+https://github.com/github/mini-throttle"
},
"license": "MIT",
"author": "GitHub Inc. (https://github.com)",
"files": [
"dist",
"!dist/test",
"!dist/umd/test",
"decorators"
],
"main": "dist/umd/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"prebuild": "npm run clean && npm run lint && mkdir dist",
"build": "npm run build-umd && npm run build-esm",
"build-esm": "tsc",
"build-umd": "tsc -m umd --outDir dist/umd",
"clean": "rm -rf dist",
"lint": "eslint --report-unused-disable-directives . --color --ext .js,.ts,.tsx && tsc --noEmit",
"prepublishOnly": "npm run build",
"test": "mocha -r ts-node/register --extension ts",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:github/recommended",
"plugin:github/browser",
"plugin:escompat/recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-invalid-this": "off"
},
"overrides": [
{
"files": "test/*",
"rules": {
"no-console": "off",
"@typescript-eslint/no-empty-function": "off"
}
}
]
},
"prettier": "@github/prettier-config",
"eslintIgnore": [
"dist/"
],
"devDependencies": {
"@github/prettier-config": "0.0.4",
"@types/chai": "^4.2.15",
"@types/mocha": "^8.2.1",
"@typescript-eslint/eslint-plugin": "^4.15.2",
"@typescript-eslint/parser": "^4.15.2",
"chai": "^4.3.0",
"eslint": "^7.20.0",
"eslint-plugin-compat": "^3.9.0",
"eslint-plugin-escompat": "^3.1.0",
"eslint-plugin-github": "^4.1.1",
"mocha": "^10.2.0",
"prettier": "^2.2.1",
"ts-node": "^9.1.1",
"typescript": "^4.1.5"
}
}