forked from github/memoize
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.1 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.1 KB
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
75
76
77
78
79
80
81
{
"name": "@github/memoize",
"version": "1.0.1",
"description": "A simple Memoize helper, with TypeScript decorator support!",
"repository": {
"type": "git",
"url": "git+https://github.com/github/memoize"
},
"license": "MIT",
"author": "GitHub Inc. (https://github.com)",
"type": "module",
"exports": {
".": "./dist/index.js",
"./decorator": "./dist/decorator.js"
},
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "npm run clean && npm run lint && mkdir dist",
"build": "tsc && rm -rf dist/test",
"clean": "rm -rf dist",
"lint": "eslint --report-unused-disable-directives . --color --ext .js,.ts,.tsx && tsc --noEmit",
"prepublishOnly": "npm run build",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'",
"test": "node --loader ts-node/esm.mjs node_modules/mocha/lib/cli/cli.js"
},
"prettier": "@github/prettier-config",
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"github"
],
"extends": [
"plugin:github/browser",
"plugin:github/recommended",
"plugin:github/typescript",
"plugin:escompat/recommended"
],
"rules": {
"no-invalid-this": "off",
"no-shadow": "off"
},
"overrides": [
{
"files": "test/*",
"rules": {
"no-shadow": "off"
}
}
]
},
"eslintIgnore": [
"dist/"
],
"mocha": {
"extension": [
"ts"
]
},
"devDependencies": {
"@github/prettier-config": "0.0.4",
"@types/chai": "^4.2.11",
"@types/chai-spies": "^1.0.1",
"@types/mocha": "^7.0.2",
"@types/node": "^14.0.19",
"@typescript-eslint/parser": "^3.6.0",
"chai": "^4.2.0",
"chai-spies": "^1.0.0",
"eslint": "^7.4.0",
"eslint-plugin-compat": "^3.8.0",
"eslint-plugin-escompat": "^3.1.0",
"eslint-plugin-github": "^4.0.1",
"mocha": "^8.0.1",
"ts-node": "github:TypeStrong/ts-node#866bce6a175ec124fe62f269b22e91c92b40f875",
"typescript": "^3.9.6"
}
}