/
package.json
59 lines (59 loc) · 1.77 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
{
"name": "@subbu963/esm-polyfills",
"version": "1.0.1",
"description": "Polyfills for ESM like __dirname, __filename, etc",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "commonjs",
"repository": "https://github.com/subbu963/esm-polyfills",
"author": "Aditya Subramanyam",
"license": "MIT",
"private": false,
"publishConfig": {
"access": "public",
"directory": "package"
},
"keywords": [
"nodejs",
"node",
"polyfill",
"polyfills",
"esm",
"esmodules",
"require",
"__filename",
"__dirname",
"require.resolve",
"commonjs"
],
"scripts": {
"dev": "tsc --watch",
"build": "yarn build:typescript && yarn build:clean",
"build:typescript": "tsc",
"build:clean": "clean-publish",
"lint": "eslint --ignore-path .eslintignore --ext .ts src",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
"postpublish": "rm -rf ./package"
},
"dependencies": {
"@types/node": "16",
"get-caller-file": "^2.0.5"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^5.49.0",
"clean-publish": "^4.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.0.1",
"eslint-config-prettier": "^8.6.0",
"eslint-config-standard-with-typescript": "^33.0.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"prettier": "^2.8.3",
"typescript": "*"
}
}