57 lines
1.4 KiB
JSON
57 lines
1.4 KiB
JSON
{
|
|
"name": "dot",
|
|
"description": "Concise and fast javascript templating compatible with nodejs and other javascript environments",
|
|
"keywords": [
|
|
"template",
|
|
"fast",
|
|
"simple",
|
|
"templating"
|
|
],
|
|
"version": "2.0.0-beta.1",
|
|
"main": "doT.js",
|
|
"types": "doT.d.ts",
|
|
"homepage": "http://github.com/olado/doT",
|
|
"repository": "git://github.com/olado/doT.git",
|
|
"author": "Laura Doktorova <ldoktorova@gmail.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"eslint": "eslint {test/,}*.js --ignore-pattern *.min.js",
|
|
"prettier:write": "prettier --write './**/*.{md,json,yaml,js,ts}'",
|
|
"prettier:check": "prettier --list-different './**/*.{md,json,yaml,js,ts}'",
|
|
"test-spec": "mocha test/*.test.js",
|
|
"test-cov": "nyc npm run test-spec",
|
|
"test-ts": "tsc doT.d.ts",
|
|
"test": "npm run eslint && npm run test-cov && npm run test-ts"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"coveralls": "^3.0.9",
|
|
"eslint": "^6.7.2",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"husky": "^4.2.5",
|
|
"lint-staged": "^10.2.11",
|
|
"mocha": "*",
|
|
"nyc": "^14.1.1",
|
|
"prettier": "^2.0.5",
|
|
"typescript": "^3.9.7"
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"test",
|
|
"node_modules"
|
|
],
|
|
"reporter": [
|
|
"lcov",
|
|
"text-summary"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged && npm test"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{md,json,yaml,js,ts}": "prettier --write"
|
|
}
|
|
}
|