UNPKG

2.25 kBJSONView Raw
1{
2 "name": "dedent",
3 "version": "1.5.1",
4 "description": "An ES6 string tag that strips indentation from multi-line strings",
5 "main": "dist/dedent.js",
6 "types": "./dist/dedent.d.ts",
7 "module": "./dist/dedent.mjs",
8 "exports": {
9 ".": {
10 "import": {
11 "types": "./dist/dedent.d.mts",
12 "default": "./dist/dedent.mjs"
13 },
14 "require": {
15 "types": "./dist/dedent.d.ts",
16 "default": "./dist/dedent.js"
17 }
18 }
19 },
20 "files": [
21 "dist/dedent.d.mts",
22 "dist/dedent.d.ts",
23 "dist/dedent.js",
24 "dist/dedent.mjs",
25 "macro.js",
26 "index.d.ts",
27 "macro.d.ts",
28 "README.md",
29 "LICENSE"
30 ],
31 "repository": {
32 "type": "git",
33 "url": "git://github.com/dmnd/dedent.git"
34 },
35 "keywords": [
36 "dedent",
37 "tag",
38 "multi-line string",
39 "es6"
40 ],
41 "author": {
42 "name": "Desmond Brand",
43 "email": "dmnd@desmondbrand.com",
44 "url": "http://desmondbrand.com"
45 },
46 "license": "MIT",
47 "bugs": {
48 "url": "https://github.com/dmnd/dedent/issues"
49 },
50 "homepage": "https://github.com/dmnd/dedent",
51 "peerDependencies": {
52 "babel-plugin-macros": "^3.1.0"
53 },
54 "peerDependenciesMeta": {
55 "babel-plugin-macros": {
56 "optional": true
57 }
58 },
59 "devDependencies": {
60 "@babel/cli": "^7.21.5",
61 "@babel/core": "^7.21.8",
62 "@babel/preset-env": "^7.21.5",
63 "@babel/preset-typescript": "^7.22.5",
64 "@types/babel-plugin-macros": "^3.1.0",
65 "@types/jest": "^29.5.3",
66 "@typescript-eslint/eslint-plugin": "^6.0.0",
67 "@typescript-eslint/parser": "^6.0.0",
68 "babel-plugin-add-module-exports": "^1.0.4",
69 "babel-plugin-macros": "^3.1.0",
70 "babel-plugin-tester": "^11.0.4",
71 "eslint": "^8.41.0",
72 "hermes-eslint": "^0.11.1",
73 "jest": "^29.5.0",
74 "tsup": "^7.1.0",
75 "typescript": "^5.1.6"
76 },
77 "scripts": {
78 "build": "yarn build:legacy && yarn build:modern && yarn build:types",
79 "build:legacy": "BABEL_ENV=legacy babel dedent.ts --out-file dist/dedent.js",
80 "build:modern": "BABEL_ENV=modern babel dedent.ts --out-file dist/dedent.mjs",
81 "build:types": "tsup dedent.ts --dts-only --format cjs,esm",
82 "lint": "eslint .",
83 "prepack": "yarn build",
84 "test": "jest",
85 "tsc": "tsc"
86 }
87}