-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
executable file
·93 lines (93 loc) · 2.03 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "node-font2base64",
"description": "Convert font to base64 url or src, and to inject src into style files",
"version": "0.0.0-PLACEHOLDER",
"author": "Junmin Ahn",
"license": "MIT",
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"exports": {
".": {
"require": "./index.js",
"import": "./index.mjs",
"types": "./index.d.ts"
}
},
"keywords": [
"base64",
"dataurl",
"font",
"fontface",
"encode",
"node"
],
"repository": {
"type": "git",
"url": "git://github.com/junminahn/node-font2base64.git"
},
"scripts": {
"format": "git ls-files '*.js' '*.ts' | xargs prettier --write",
"lint": "git ls-files '[!test]*.js' '[!test]*.ts' | xargs yarn eslint",
"test": "mocha --exit",
"build": "tsup"
},
"engines": {
"node": ">=14"
},
"dependencies": {
"css": "^3.0.0",
"file-type": "^16.5.4"
},
"devDependencies": {
"@types/chai": "^4.3.4",
"@types/css": "^0.0.34",
"@types/mocha": "^10.0.1",
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"chai": "^4.3.7",
"eslint": "^8.25.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.26.0",
"fs-extra": "^11.1.0",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"prettier": "^3.0.0",
"promise-synchronizer": "^3.0.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.2",
"tsup": "^7.0.0",
"typescript": "^5.0.0",
"yargs": "^17.6.0"
},
"peerDependencies": {
"promise-synchronizer": "^3.0.0"
},
"tsup": {
"target": "node14",
"entry": [
"src/index.ts"
],
"format": [
"cjs",
"esm",
"iife"
],
"dts": true,
"splitting": false,
"sourcemap": true,
"clean": true,
"minify": false
},
"mocha": {
"extensions": [
"ts"
],
"spec": [
"test/**/*.spec.ts"
],
"require": "ts-node/register"
}
}