ManuUseGitHub/modulopt

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "modulopt",
  "version": "2.2.5",
  "description": "Engrafts options support (default values + validity) to objects.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/ManuUseGitHub/modulopt.git"
  },
  "keywords": [
    "options",
    "productivity",
    "workflow",
    "module",
    "standalone",
    "flexibility",
    "fun",
    "binary",
    "mask"
  ],
  "author": "Jean Luc Emmanuel VERHANNEMAN",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/ManuUseGitHub/modulopt/issues"
  },
  "main": "dist/index.js",
  "homepage": "https://modulopt-doc.herokuapp.com/",
  "scripts": {
    "testCov": "jest --coverage && coveralls < coverage/lcov.info",
    "test": "npm run dev-build-s && jest && npm run build-s",
    "watchTest": "npm run  dev-build-s && jest --watchAll",
    "watchIndex": "nodemon ./dev/index.ts --ignore ./**/*.js",
    "execute": "node demo/",
    "nodetests": "nodemon demo/ --ignore ./assets/ --ignore ./dev/",
    "tsc": "tsc dev/index.ts",
    "build-s": "npm run build --silent",
    "dev-build-s": "npm run dev-build --silent",
    "build": "npm run remove-dist && npm run compile && npm run bundle && npm run declare && npm run min && npm run remove-temp &&npm run end-bld",
    "dev-build": "npm run remove-dist npx rimraf dist && npm run compile && npm run extract-temp && npm run end-dev-bld",
    "bundle": "esbuild dist/TEMP/index.js --platform=node --bundle --outfile=dist/TEMP/index.bundle.js --sourcemap --external:'../package.json' && npm run end-bndl",
    "extract-temp": "cp -r ./dist/TEMP/ ./dist/ && npm run remove-temp && npm run end-ext-tmp",
    "remove-temp": "npx rimraf dist/TEMP && npm run end-rmv-tmp",
    "remove-dist": "npx rimraf dist && npm run end-rmv-dist",
    "min": "esbuild ./dist/TEMP/index.bundle.js --platform=node --minify --sourcemap --outfile=./dist/index.js && npm run end-min",
    "compile": "npx tsc && npm run end-cmp",
    "declare": "npx -p typescript tsc dist/TEMP/index.bundle.js --declaration --allowJs --emitDeclarationOnly --outDir dist && mv dist/index.bundle.d.ts dist/index.d.ts && npm run end-declare",
    "watch-test": "jest --config jest.config.ts --watchAll",
    "end-ins": "echo '[\\x1b[34m!\\x1b[37m] \\x1b[44mINSTALLED AND SET\\x1b[49m'",
    "end-bld": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[42mBUILD FINISH\\x1b[49m'",
    "end-dev-bld": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[42mBUILD FOR DEVELOPMENT FINISH\\x1b[49m'",
    "end-bndl": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[32mscript files are bundled now\\x1b[37m'",
    "end-ext-tmp": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[32mTEMP folder has been extracted from its content\\x1b[37m'",
    "end-rmv-tmp": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[32mdist/TEMP folder is deleted from now\\x1b[37m'",
    "end-rmv-dist": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[32mdist folder is deleted from now\\x1b[37m'",
    "end-min": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[32mminified all script files\\x1b[37m'",
    "end-cmp": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[32mTypeScript has finished to compile\\x1b[37m'",
    "end-declare": "echo '[\\x1b[32m✔\\x1b[37m] \\x1b[32mTypes declaration have bean generated\\x1b[37m'"
  },
  "dependencies": {
    "bystr-sort": "^1.2.1",
    "date-and-time": "^2.0.1",
    "esbuild": "^0.19.5",
    "jest": "^27.3.1",
    "json-colorizer": "^2.2.2",
    "json-stringify-pretty-compact": "^3.0.0",
    "nodemon": "^2.0.13",
    "ts-node": "^10.3.0"
  },
  "devDependencies": {
    "coveralls": "^3.1.1",
    "typescript": "^4.4.4"
  }
}