Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
192 lines (191 sloc) 4.83 KB
{
"name": "jsarch",
"version": "2.0.2",
"description": "A simple module to extract architecture notes from your code.",
"main": "dist/index.js",
"metapak": {
"configs": [
"main",
"readme",
"travis",
"eslint",
"babel",
"mocha",
"codeclimate",
"jsdocs"
],
"data": {
"ignore": [
"dist"
],
"files": "src/*.js",
"testsFiles": "src/*.mocha.js",
"bundleFiles": [
"dist/**/*.js",
"bin/**/*.js"
]
}
},
"scripts": {
"architecture": "node bin/jsarch.js src/*.js > ARCHITECTURE.md",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"cli": "env NODE_ENV=${NODE_ENV:-cli}",
"compile": "babel src --out-dir=dist",
"cover": "nyc npm test && nyc report --reporter=html --reporter=text",
"coveralls": "nyc npm test && nyc report --reporter=text-lcov | coveralls && rm -rf ./coverage",
"cz": "env NODE_ENV=${NODE_ENV:-cli} git cz",
"doc": "echo \"# API\" > API.md; jsdoc2md src/*.js >> API.md && git add API.md",
"graph": "npm run graph:build && npm run graph:generate && git add DEPENDENCIES.mmd*",
"graph:build": "MERMAID_RUN=1 node bin/jsarch.js > DEPENDENCIES.mmd",
"graph:generate": "mmdc -i DEPENDENCIES.mmd -o DEPENDENCIES.mmd.png",
"jsarch": "node bin/jsarch.js",
"lint": "eslint src/*.js",
"metapak": "metapak",
"mocha": "mocha --require '@babel/register' src/*.mocha.js",
"precz": "npm run compile && npm run graph && npm run architecture && npm run doc && npm t && npm run lint && npm run metapak -- -s",
"prettier": "prettier --write src/*.js",
"preversion": "npm t && npm run lint && npm run metapak -- -s && npm run compile && npm run doc",
"test": "npm run mocha",
"version": "npm run changelog && git add CHANGELOG.md"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nfroidure/jsarch.git"
},
"keywords": [
"architecture",
"documentation"
],
"bin": {
"jsarch": "bin/jsarch.js"
},
"dependencies": {
"@babel/parser": "^7.2.3",
"ast-types": "^0.11.7",
"bluebird": "^3.5.3",
"commander": "^2.19.0",
"debug": "^4.1.1",
"deep-extend": "^0.6.0",
"glob": "^7.1.3",
"knifecycle": "^5.0.4",
"packagerc": "^1.1.0",
"pkg-dir": "^3.0.0",
"yerror": "^2.1.3"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/register": "^7.0.0",
"babel-eslint": "^10.0.1",
"babel-plugin-knifecycle": "^1.0.1",
"commitizen": "^3.0.5",
"conventional-changelog-cli": "^2.0.11",
"coveralls": "^3.0.2",
"cz-conventional-changelog": "^2.1.0",
"eslint": "^5.12.0",
"eslint-plugin-mongodb": "0.2.4",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-prettier": "^3.0.1",
"eslint-plugin-promise": "^3.6.0",
"jsdoc-to-markdown": "^4.0.1",
"mermaid": "^7.1.2",
"mermaid.cli": "^0.5.1",
"metapak": "^2.0.0",
"metapak-nfroidure": "9.0.4",
"mocha": "^5.2.0",
"nyc": "^13.0.1",
"phantomjs": "^2.1.7",
"prettier": "^1.15.3",
"sinon": "^7.0.0"
},
"author": {
"name": "Nicolas Froidure",
"email": "nicolas.froidure@insertafter.com",
"url": "http://insertafter.com/en/index.html"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/nfroidure/jsarch/issues"
},
"homepage": "https://github.com/nfroidure/jsarch#readme",
"engines": {
"node": ">=8.12.0"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"greenkeeper": {
"ignore": [
"commitizen",
"cz-conventional-changelog",
"conventional-changelog-cli",
"eslint",
"eslint-config-prettier",
"prettier",
"mocha",
"coveralls",
"nyc",
"jsdoc-to-markdown"
]
},
"contributors": [],
"babel": {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "8.12.0"
}
}
]
],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"babel-plugin-knifecycle"
]
},
"eslintConfig": {
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"modules": true
},
"env": {
"es6": true,
"node": true,
"jest": true,
"mocha": true
},
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
}
},
"prettier": {
"semi": true,
"printWidth": 80,
"singleQuote": true,
"trailingComma": "all",
"proseWrap": "always"
},
"files": [
"dist/**/*.js",
"bin/**/*.js",
"LICENSE",
"README.md",
"CHANGELOG.md"
],
"nyc": {
"exclude": [
"src/*.mocha.js"
]
}
}