-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
40 lines (40 loc) · 1.21 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
{
"name": "@hawk.so/nodejs",
"version": "3.1.5",
"description": "Node.js catcher for Hawk",
"license": "MIT",
"main": "./dist/cjs/src/index.js",
"module": "dist/mjs/src/index.js",
"exports": {
".": {
"import": "./dist/mjs/src/index.js",
"require": "./dist/cjs/src/index.js"
}
},
"scripts": {
"prebuild": "node -p \"'export const VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/version.ts",
"build": "yarn clean && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node ./create-packages.js",
"build:watch": "yarn clean && tsc-watch",
"example": "node ./example/example.js",
"lint": "eslint -c ./.eslintrc.js src/ --ext .ts,.js --fix",
"lint:test": "eslint -c ./.eslintrc.js src/ --ext .ts,.js",
"clean": "rimraf dist"
},
"dependencies": {
"@hawk.so/types": "^0.1.15",
"axios": "^0.21.1",
"stack-trace": "^0.0.10"
},
"devDependencies": {
"@types/node": "^14.0.11",
"eslint": "6.7.2",
"eslint-config-codex": "^1.3.6",
"rimraf": "^3.0.2",
"tsc-watch": "^4.2.8",
"typescript": "^3.9.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codex-team/hawk.nodejs.git"
}
}