-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.04 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 2.04 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
{
"name": "kaokun",
"version": "1.2.1",
"description": "Generate Kaomoji with seeding",
"keywords": [
"kaokun",
"kaomoji",
"seed",
"generate",
"faces",
"funny",
"emoji",
"emotions",
"japanese"
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/cjs/index.d.ts",
"exports": {
".": {
"types": "./lib/cjs/index.d.ts",
"import": "./lib/esm/index.js",
"require": "./lib/cjs/index.js"
}
},
"sideEffects": false,
"files": [
"lib"
],
"scripts": {
"test": "jest",
"test:coverage": "jest --coverage",
"test:build": "yarn build:esm-test && node dist-tests/esm/esm.test.js",
"test:all": "yarn build && yarn test && yarn test:build",
"build": "yarn build:cjs && yarn build:esm",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "tsc -p tsconfig.esm.json && node -e \"require('fs').writeFileSync('./lib/esm/package.json', '{\\\"type\\\":\\\"module\\\"}')\"",
"build:esm-test": "tsc -p tsconfig.esm-test.json",
"format": "prettier --write \"src/**/*.ts\" \"tests/**/*.ts\"",
"lint": "eslint src tests",
"lint:fix": "eslint src tests --fix",
"typecheck": "tsc --noEmit",
"prepare": "husky || true",
"prepublishOnly": "yarn lint && yarn test && yarn build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jsingason/kaokun.git"
},
"homepage": "https://jsingason.github.io/kaokun",
"bugs": "https://github.com/jsingason/kaokun/issues",
"author": "Jóhann S. Ingason <jsingason@gmail.com>",
"license": "MIT",
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/jest": "^29.5.3",
"eslint": "^9.32.2",
"eslint-config-prettier": "^10.1.8",
"husky": "^9.1.7",
"jest": "^29.6.2",
"lint-staged": "^15.0.0",
"prettier": "^3.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0"
},
"lint-staged": {
"*.ts": [
"eslint --fix",
"prettier --write"
]
},
"engines": {
"node": ">=16"
}
}