UNPKG

confinode

Version:

Node application configuration reader

87 lines (86 loc) 2.71 kB
{ "name": "confinode", "version": "2.1.1", "description": "Node application configuration reader", "main": "lib/index.js", "typings": "lib/index.d.ts", "type": "commonjs", "files": [ "lib/**", "!lib/**/*.spec.*", "!lib/**/*.map", "!lib/tools/**" ], "scripts": { "version": "pm-exec run all", "postversion": "git push && git push --tags", "prepublishOnly": "pm-exec run all", "all": "pm-exec run clean && pm-exec run test && pm-exec run build", "pretest": "glob-exec --foreach --parallel './__tests__/projects/{app,tested/*}/package.json' -- 'cd {{file.dir}} && pm-exec install'", "test": "pm-exec run test:lint && pm-exec run test:dep && pm-exec run test:unit && pm-exec run test:integration", "test:lint": "eslint --config .eslintrc.full.yaml 'src/**/*.ts'", "test:dep": "depcheck", "test:unit": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER=ttypescript nyc mocha 'src/**/*.spec.ts'", "test:integration": "pm-exec run build:main && glob-exec --foreach './__tests__/projects/tested/*/package.json' -- 'cd {{file.dir}} && pm-exec test'", "build": "pm-exec run build:main && pm-exec run build:extensions", "build:extensions": "cross-env TS_NODE_FILES=true TS_NODE_COMPILER=ttypescript ts-node src/tools/managedExtensions.ts doc/extensions.md", "build:main": "ttsc && copyfiles -u 1 src/**/*.js lib", "clean": "rimraf lib" }, "keywords": [ "node", "application", "configuration", "reader", "universal" ], "author": "Slune", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/slune-org/confinode.git" }, "engines": { "node": ">=10.0.0" }, "dependencies": { "quick-lru": "^5.0.0", "yaml": "^1.7.2" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "1.0.1", "@types/chai": "4.2.9", "@types/chai-as-promised": "7.1.2", "@types/mocha": "7.0.1", "@types/node": "13.7.7", "@types/sinon": "7.5.2", "@types/sinon-chai": "3.2.3", "@types/yaml": "1.2.0", "@typescript-eslint/eslint-plugin": "2.21.0", "@typescript-eslint/parser": "2.21.0", "chai": "4.2.0", "chai-as-promised": "7.1.1", "copyfiles": "2.2.0", "cross-env": "7.0.0", "depcheck": "0.9.2", "eslint": "6.8.0", "eslint-config-prettier": "6.10.0", "eslint-plugin-import": "2.20.1", "eslint-plugin-jsdoc": "21.0.0", "eslint-plugin-node": "11.0.0", "eslint-plugin-prettier": "3.1.2", "glob-exec": "0.1.1", "mocha": "7.1.0", "nyc": "15.0.0", "pm-exec": "1.0.0", "prettier": "1.19.1", "rimraf": "3.0.2", "sinon": "9.0.0", "sinon-chai": "3.5.0", "source-map-support": "0.5.16", "ts-node": "8.6.2", "ts-transform-auto-require": "1.1.0", "ttypescript": "1.5.10", "typescript": "3.8.3" } }