multili
Version:
Function to remove indentation in multi-lines template literals (string) based on the indented line.
70 lines (69 loc) • 1.77 kB
JSON
{
"name": "multili",
"version": "1.1.0",
"description": "Function to remove indentation in multi-lines template literals (string) based on the indented line.",
"keywords": [
"template",
"literal",
"string",
"mutli",
"lines",
"mutli-lines",
"mutlilines"
],
"author": "Maxime Thirouin",
"license": "MIT",
"repository": "https://github.com/MoOx/multili.git",
"#repositories": "https://github.com/npm/npm/issues/11315",
"repositories": [
"https://github.com/MoOx/multili.git",
"https://gitlab.com/MoOx/multili.git",
"https://bitbucket.org/MoOx/multili.git"
],
"main": "src/index.js",
"files": [
"src",
"!**/__tests__"
],
"dependencies": {},
"devDependencies": {
"coveralls": "^2.11.9",
"eslint": "^3.0.0",
"eslint-config-i-am-meticulous": "^6.0.0",
"husky": "^0.13.3",
"jest": "^20.0.0",
"lint-staged": "^3.4.1",
"npmpub": "^3.0.0",
"prettier": "^1.3.1"
},
"lint-staged": {
"*.js": [
"prettier --write --no-semi --trailing-comma=all",
"git add"
]
},
"scripts": {
"format": "prettier --write --no-semi --trailing-comma=all \"*.js\" \"!(node_modules)/*.js\" \"!(node_modules)/**/*.js\"",
"#<git hooks>": "handled by husky",
"precommit": "lint-staged",
"#</git hooks>": "handled by husky",
"lint:js": "eslint --ignore-path .gitignore --fix .",
"lint": "npm -s run lint:js",
"tests": "jest",
"pretest": "npm -s run lint",
"test": "npm -s run tests",
"coverage": "cat ./coverage/lcov.info | coveralls",
"release": "npmpub"
},
"eslintConfig": {
"env": {
"jest": true
},
"extends": [
"eslint-config-i-am-meticulous"
]
},
"jest": {
"collectCoverage": true
}
}