-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathpackage.json
52 lines (52 loc) · 1.14 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
{
"name": "@pkmn/img",
"version": "0.2.34",
"description": "Logic for displaying Pokémon Showdown's sprite/icon resources",
"repository": "github:pkmn/ps",
"license": "MIT",
"sideEffects": false,
"main": "build/index.js",
"module": "build/index.mjs",
"types": "build/index.d.ts",
"unpkg": "build/index.min.js",
"exports": {
".": {
"require": "./build/index.js",
"import": "./build/index.mjs"
},
"./adaptable": {
"require": "./build/adaptable.js",
"import": "./build/adaptable.mjs"
}
},
"typesVersions": {
"*": {
"adaptable": [
"./build/adaptable.d.ts"
]
}
},
"publishConfig": {
"access": "public"
},
"files": [
"build"
],
"scripts": {
"lint": "eslint --cache src",
"fix": "eslint --fix src",
"compile": "tsc -p .",
"build": "npm run compile && node ../build src/index.ts src/adaptable.ts --minify",
"test": "jest",
"pretest": "npm run build",
"posttest": "npm run lint"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"testPathIgnorePatterns": [
"node_modules/",
"build/"
]
}
}