string-dedent
Version:
De-indents (dedents) passed in strings
66 lines (65 loc) • 1.93 kB
JSON
{
"name": "string-dedent",
"version": "3.0.1",
"description": "De-indents (dedents) passed in strings",
"keywords": [
"string",
"dedent"
],
"main": "dist/dedent.umd.js",
"module": "dist/dedent.mjs",
"typings": "dist/types/dedent.d.ts",
"exports": {
".": {
"browser": "./dist/dedent.umd.js",
"require": "./dist/dedent.umd.js",
"import": "./dist/dedent.mjs"
},
"./package.json": "./package.json"
},
"files": [
"dist"
],
"author": "Justin Ridgewell <justin@ridgewell.name>",
"repository": {
"type": "git",
"url": "git+https://github.com/jridgewell/string-dedent.git"
},
"license": "MIT",
"engines": {
"node": ">=0.12.0"
},
"scripts": {
"build": "run-s -n build:*",
"build:rollup": "rollup -c rollup.config.ts",
"build:ts": "tsc --project tsconfig.build.json",
"lint": "run-s -n lint:*",
"lint:prettier": "npm run test:lint:prettier -- --write",
"lint:ts": "npm run test:lint:ts -- --fix",
"prebuild": "rm -rf dist",
"test": "run-s -n test:lint 'test:only -- --no-cache'",
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
"test:lint": "run-s -n test:lint:*",
"test:lint:prettier": "prettier --check '{src,test}/**/*.ts'",
"test:lint:ts": "eslint '{src,test}/**/*.ts'",
"test:only": "jest --coverage",
"test:watch": "jest --coverage --watch",
"preversion": "run-s test build",
"prepublishOnly": "npm run preversion"
},
"devDependencies": {
"@rollup/plugin-typescript": "8.3.0",
"@types/jest": "27.4.0",
"@typescript-eslint/eslint-plugin": "5.10.1",
"@typescript-eslint/parser": "5.10.1",
"eslint": "8.8.0",
"eslint-config-prettier": "8.3.0",
"jest": "27.4.7",
"jest-config": "27.4.7",
"npm-run-all": "4.1.5",
"prettier": "2.5.1",
"rollup": "2.66.1",
"ts-jest": "27.1.3",
"typescript": "4.5.5"
}
}