file-js
Version:
Abstract representation of a pathname
105 lines (104 loc) • 2.25 kB
JSON
{
"name": "file-js",
"version": "1.2.0",
"description": "Abstract representation of a pathname",
"main": "index.js",
"scripts": {
"jsdoc": "jsdoc -c ./docconfig/jsdoc.json",
"build": "tsc",
"watch": "tsc --watch",
"clean": "rm -fr dist/*",
"prepublish": "npm run build",
"prepublishOnly": "tsc -p ./ --outDir dist",
"test": "mocha -r ts-node/register test/*.ts",
"posttest": "npm run lint",
"lint": "tslint --project tsconfig.json",
"coverage": "nyc mocha && nyc report --reporter=html && nyc report --reporter=json-summary"
},
"repository": {
"type": "git",
"url": "https://github.com/nspragg/file-js.git"
},
"keywords": [
"file",
"file-js",
"file",
"lister",
"find",
"directory",
"promise",
"fs"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/nspragg/file-js/issues"
},
"homepage": "https://github.com/nspragg/file-js",
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/lodash": "^4.14.119",
"@types/mocha": "^2.2.43",
"@types/node": "^10.12.18",
"@types/sinon": "^7.0.3",
"chai": "^4.1.2",
"eslint": "^3.11.1",
"istanbul": "1.1.0-alpha.1",
"jsdoc": "^3.4.3",
"mocha": "^5.0.5",
"moment": "^2.23.0",
"sinon": "^4.5.0",
"ts-node": "^3.3.0",
"tslint": "^5.8.0",
"tslint-config-airbnb": "^5.3.1",
"tslint-eslint-rules": "^4.1.1",
"typescript": "^3.2.0"
},
"nyc": {
"include": [
"src/**/*.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"sourceMap": true,
"instrument": true
},
"eslintConfig": {
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"node": true,
"mocha": true,
"es6": true
},
"rules": {
"quotes": [
2,
"single"
],
"eqeqeq": 2,
"no-var": 2,
"one-var": [
2,
"never"
],
"prefer-const": 2,
"semi": 2,
"strict": [
2,
"global"
],
"arrow-parens": 2,
"prefer-arrow-callback": 2
}
},
"dependencies": {
"minimatch": "^3.0.3"
}
}