76 lines
2.1 KiB
JSON
76 lines
2.1 KiB
JSON
{
|
|
"name": "string-dedent",
|
|
"version": "3.0.2",
|
|
"description": "De-indents (dedents) passed in strings",
|
|
"keywords": [
|
|
"string",
|
|
"dedent"
|
|
],
|
|
"main": "dist/dedent.umd.js",
|
|
"module": "dist/dedent.mjs",
|
|
"types": "./dist/dedent.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"import": {
|
|
"types": "./dist/dedent.d.mts",
|
|
"default": "./dist/dedent.mjs"
|
|
},
|
|
"require": {
|
|
"types": "./dist/dedent.d.ts",
|
|
"default": "./dist/dedent.umd.js"
|
|
},
|
|
"browser": {
|
|
"types": "./dist/dedent.d.ts",
|
|
"default": "./dist/dedent.umd.js"
|
|
}
|
|
},
|
|
"./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",
|
|
"build:fix-npm-types": "node scripts/fix-npm-types.mjs",
|
|
"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"
|
|
}
|
|
}
|