-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.2 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
{
"name": "dedent",
"version": "1.5.1",
"description": "An ES6 string tag that strips indentation from multi-line strings",
"main": "dist/dedent.js",
"types": "./dist/dedent.d.ts",
"module": "./dist/dedent.mjs",
"exports": {
".": {
"import": {
"types": "./dist/dedent.d.mts",
"default": "./dist/dedent.mjs"
},
"require": {
"types": "./dist/dedent.d.ts",
"default": "./dist/dedent.js"
}
}
},
"files": [
"dist/dedent.d.mts",
"dist/dedent.d.ts",
"dist/dedent.js",
"dist/dedent.mjs",
"macro.js",
"index.d.ts",
"macro.d.ts",
"README.md",
"LICENSE"
],
"repository": {
"type": "git",
"url": "git://github.com/dmnd/dedent.git"
},
"keywords": [
"dedent",
"tag",
"multi-line string",
"es6"
],
"author": {
"name": "Desmond Brand",
"email": "dmnd@desmondbrand.com",
"url": "http://desmondbrand.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/dmnd/dedent/issues"
},
"homepage": "https://github.com/dmnd/dedent",
"peerDependencies": {
"babel-plugin-macros": "^3.1.0"
},
"peerDependenciesMeta": {
"babel-plugin-macros": {
"optional": true
}
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.21.8",
"@babel/preset-env": "^7.21.5",
"@babel/preset-typescript": "^7.22.5",
"@types/babel-plugin-macros": "^3.1.0",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"babel-plugin-add-module-exports": "^1.0.4",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-tester": "^11.0.4",
"eslint": "^8.41.0",
"hermes-eslint": "^0.11.1",
"jest": "^29.5.0",
"tsup": "^7.1.0",
"typescript": "^5.1.6"
},
"scripts": {
"build": "yarn build:legacy && yarn build:modern && yarn build:types",
"build:legacy": "BABEL_ENV=legacy babel dedent.ts --out-file dist/dedent.js",
"build:modern": "BABEL_ENV=modern babel dedent.ts --out-file dist/dedent.mjs",
"build:types": "tsup dedent.ts --dts-only --format cjs,esm",
"lint": "eslint .",
"prepack": "yarn build",
"test": "jest",
"tsc": "tsc"
}
}