tom-weatherhead/thaw-colour

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "thaw-colour",
    "version": "0.0.6",
    "description": "A common library that provides basic colour data and functionality.",
    "keywords": [
        "color",
        "colour",
        "TypeScript"
    ],
    "private": false,
    "homepage": "https://github.com/tom-weatherhead/thaw-colour#readme",
    "repository": "github:tom-weatherhead/thaw-colour",
    "bugs": {
        "url": "https://github.com/tom-weatherhead/thaw-colour/issues"
    },
    "source": "src/main.ts",
    "browser": "dist/thaw-colour.js",
    "main": "dist/thaw-colour.cjs.js",
    "module": "dist/thaw-colour.esm.js",
    "types": "dist/types/main.d.ts",
    "files": [
        "dist/thaw-colour*.js",
        "dist/types/**/*.d.ts"
    ],
    "man": [],
    "directories": {
        "lib": "lib",
        "// bin": "It is an error to specify both bin and directories.bin",
        "man": "man",
        "// doc": "Put markdown files in the directories.doc directory",
        "doc": "doc",
        "example": "examples",
        "test": "test"
    },
    "scripts": {
        "all": "npm run rebuild-online && npm pack && npm run deploy",
        "rebuild-offline": "npm run clean-offline && npm run build-and-test",
        "clean-offline": "rm -rf coverage && rm -rf dist",
        "rebuild-online": "npm run clean-online && npm i && npm run build-and-test",
        "clean-online": "npm run clean-offline && rm -rf node_modules && rm -f package-lock.json",
        "build-and-test": "npm run prettier-check && npm run lint && npm run build && npm run rollup && npm test",
        "prettier-check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
        "prettier-list": "prettier --list-different \"**/*.js\" \"**/*.ts\"",
        "prettier-format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
        "lint": "eslint . --ext .js --ext .ts",
        "// build": "rm -rf dist; tsc",
        "build": "tsc",
        "rollup": "rollup --config",
        "test": "jest --detectOpenHandles --forceExit",
        "deploy": "eval mv $npm_package_name-$npm_package_version.tgz $(echo $npm_package_config_deploy_target_dir)/",
        "prepare": "npm run build",
        "prepublishOnly": "npm test && npm run lint",
        "preversion": "npm run lint",
        "version": "npm run format && git add -A src",
        "postversion": "git push && git push --tags",
        "re": "npm run prettier-format && npm run clean-offline && npm run build-and-test && npm pack && npm run deploy",
        "loc": "git ls-files | grep -v package-lock.json | tr -d '\\r' | tr '\\n' '\\0' | xargs -0 wc -l",
        "f": "npm run prettier-format && npm run all",
        "start": "npm run all"
    },
    "config": {
        "deploy_target_dir": "$NPM_PKG_DIR"
    },
    "publishConfig": {},
    "dependencies": {},
    "devDependencies": {
        "@babel/core": "^7.14.3",
        "@babel/preset-env": "^7.14.2",
        "@babel/preset-typescript": "^7.13.0",
        "@types/eslint": "^7.2.11",
        "@types/jest": "^26.0.23",
        "@types/node": "^14",
        "@typescript-eslint/eslint-plugin": "^4.24.0",
        "@typescript-eslint/parser": "^4.24.0",
        "eslint": "^7.27.0",
        "jest": "^26.6.3",
        "prettier": "^2.3.0",
        "rollup": "^2.48.0",
        "rollup-plugin-terser": "^7.0.2",
        "typescript": "^4.2.4"
    },
    "peerDependencies": {},
    "// The correct name is bundledDependencies": true,
    "// The name is bundleDependencies is also honoured": true,
    "// bundledDependencies": "... is an array of package names",
    "// bundledDependencies: See": "https://docs.npmjs.com/cli/v6/configuring-npm/package-json#bundleddependencies",
    "bundledDependencies": [],
    "optionalDependencies": {},
    "engines": {
        "node": ">= 8"
    },
    "os": [
        "darwin",
        "linux",
        "win32"
    ],
    "cpu": [
        "ia32",
        "x64"
    ],
    "author": "Tom Weatherhead <thaw@2hrd4u.org> (https://github.com/tom-weatherhead)",
    "contributors": [
        "Anonymous <conspirator@deep.state.gov>",
        "Assimilated Captain <locutus@b.org>",
        "Austin James <president@warehouse.serendip.com>",
        "Autonomous Weapons Systems Unlimited <killer@robots.com>",
        "Buddy Guy <deadbeef@decafbad.gov>",
        "Deprecated <deadc0de@obso1337.org>",
        "Loitering Munition <smart@bom.com>",
        "Sgt. Pepper <shoot1st@thinkl8r.mil>"
    ],
    "license": "MIT"
}