1 | {
|
2 | "name": "ts-dedent",
|
3 | "version": "2.2.0",
|
4 | "description": "TypeScript package which smartly trims and strips indentation from multi-line strings",
|
5 | "author": "Tamino Martinius <dev@zaku.eu>",
|
6 | "main": "./dist/index.js",
|
7 | "module": "./esm/index.js",
|
8 | "jsnext:main": "./dist/index.js",
|
9 | "typings": "./dist/index.d.ts",
|
10 | "license": "MIT",
|
11 | "files": [
|
12 | "dist",
|
13 | "esm",
|
14 | "src"
|
15 | ],
|
16 | "repository": {
|
17 | "type": "git",
|
18 | "url": "https://github.com/tamino-martinius/node-ts-dedent.git"
|
19 | },
|
20 | "keywords": [
|
21 | "dedent",
|
22 | "deindent",
|
23 | "indentation",
|
24 | "multi-line string",
|
25 | "multiline strings",
|
26 | "template literals",
|
27 | "template strings",
|
28 | "ts",
|
29 | "typescript",
|
30 | "es6",
|
31 | "harmony"
|
32 | ],
|
33 | "engines": {
|
34 | "node": ">=6.10"
|
35 | },
|
36 | "scripts": {
|
37 | "coverage": "rm -rf coverage* && jest --coverage",
|
38 | "pretest": "npm run lint",
|
39 | "test": "jest",
|
40 | "lint": "eslint .",
|
41 | "watch": "tsc -w",
|
42 | "ci": "npm run coverage && codecov",
|
43 | "compile": "rm -rf dist/* && rm -rf esm/* && tsc --module commonjs --outdir dist && tsc --module es6 --outdir esm",
|
44 | "preversion": "npm run compile && git add ."
|
45 | },
|
46 | "devDependencies": {
|
47 | "@types/jest": "^26.0.24",
|
48 | "@typescript-eslint/eslint-plugin": "^4.28.5",
|
49 | "@typescript-eslint/parser": "^4.28.5",
|
50 | "codecov": "^3.8.3",
|
51 | "eslint": "^7.32.0",
|
52 | "jest": "^27.0.6",
|
53 | "ts-jest": "^27.0.4",
|
54 | "typescript": "~4.3.5"
|
55 | },
|
56 | "jest": {
|
57 | "transform": {
|
58 | ".ts": "ts-jest"
|
59 | },
|
60 | "testRegex": "\\.(test|spec)\\.ts$",
|
61 | "moduleFileExtensions": [
|
62 | "ts",
|
63 | "tsx",
|
64 | "js",
|
65 | "json"
|
66 | ]
|
67 | }
|
68 | }
|