-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
45 lines (45 loc) · 1.05 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
{
"name": "@pkmn/logs",
"version": "0.0.1",
"description": "Logic for processing Pokémon Showdown battle simulator logs",
"repository": "github:pkmn/stats",
"license": "MIT",
"main": "build/index.js",
"module": "build/index.mjs",
"types": "build/index.d.ts",
"files": ["build"],
"publishConfig": {
"access": "public"
},
"dependencies": {
"@types/7zip-min": "^1.3.3",
"7zip-min": "^1.4.5",
"bthreads": "^0.5.1"
},
"scripts": {
"lint": "eslint --cache src",
"fix": "eslint --fix src",
"compile": "tsc -p .",
"build": "npm run compile && tsup src/index.ts",
"test": "jest",
"pretest": "npm run build",
"posttest": "npm run lint"
},
"tsup": {
"outDir": "build",
"format": ["cjs", "esm"],
"sourcemap": true,
"dts": true,
"clean": true
},
"jest": {
"testEnvironment": "node",
"testPathIgnorePatterns": ["node_modules/", "build/"]
},
"babel": {
"presets": [
"@babel/preset-typescript",
["@babel/preset-env", {"targets": {"node": "current"}}]
]
}
}