Skip to main content
Module

x/nanocolors/package.json

2x times faster than chalk and use 5x less space in node_modules
Latest
File
{ "name": "nanocolors", "version": "0.1.12", "description": "2x times faster than chalk and use 5x less space in node_modules", "keywords": [ "color", "colors", "ansi", "cli", "console", "terminal", "chalk" ], "author": "Andrey Sitnik <andrey@sitnik.ru>", "license": "MIT", "repository": "ai/nanocolors", "sideEffects": false, "type": "module", "types": "./index.d.ts", "browser": { "./index.js": "./index.browser.js", "./index.cjs": "./index.browser.cjs" }, "main": "index.cjs", "module": "index.js", "exports": { ".": { "browser": "./index.browser.js", "require": "./index.cjs", "import": "./index.js", "default": "./index.js" }, "./package.json": "./package.json" }, "scripts": { "test": "node --experimental-vm-modules node_modules/.bin/jest --coverage && eslint . && size-limit && yaspeller *.md && print-snapshots" }, "devDependencies": { "@babel/core": "^7.15.5", "@logux/eslint-config": "^45.4.7", "@logux/sharec-config": "^0.11.0", "@size-limit/preset-small-lib": "^5.0.4", "@types/jest": "^27.0.1", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "ansi-colors": "^4.1.1", "benchmark": "^2.1.4", "chalk": "^4.1.2", "clean-publish": "^2.2.0", "cli-color": "^2.0.0", "colorette": "^2.0.7", "eslint": "^7.32.0", "eslint-config-standard": "^16.0.3", "eslint-plugin-import": "^2.24.2", "eslint-plugin-jest": "^24.4.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prefer-let": "^1.1.0", "eslint-plugin-promise": "^5.1.0", "eslint-plugin-security": "^1.4.0", "eslint-plugin-unicorn": "^36.0.0", "jest": "^27.1.0", "kleur": "^4.1.4", "lint-staged": "^11.1.2", "prettier": "^2.3.2", "print-snapshots": "^0.4.0", "simple-git-hooks": "^2.6.1", "size-limit": "^5.0.4", "ts-jest": "^27.0.5", "typescript": "^4.4.2", "yaspeller": "^7.0.0" }, "jest": { "preset": "ts-jest/presets/default-esm", "globals": { "ts-jest": { "useESM": true, "isolatedModules": true } }, "testEnvironment": "node", "coverageThreshold": { "global": { "statements": 100 } } }, "eslintConfig": { "extends": "@logux/eslint-config/esm", "rules": { "@typescript-eslint/restrict-plus-operands": "off", "jest/no-conditional-expect": "off", "no-extra-boolean-cast": "off", "no-control-regex": "off" }, "overrides": [ { "files": "test/**", "rules": { "node/no-unsupported-features/es-builtins": "off", "node/no-unsupported-features/es-syntax": "off", "security/detect-non-literal-regexp": "off", "security/detect-unsafe-regex": "off" } }, { "files": "test/*.test.ts", "rules": { "import/extensions": "off" } }, { "files": "test/loading.cjs", "rules": { "import/newline-after-import": "off", "import/order": "off", "no-unused-vars": "off" } } ] }, "size-limit": [ { "name": "Minimum", "import": "{ red }", "path": "./index.js", "limit": "13 B" }, { "name": "All", "path": "./index.js", "limit": "424 B" } ], "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "prettier": { "arrowParens": "avoid", "jsxSingleQuote": false, "quoteProps": "consistent", "semi": false, "singleQuote": true, "trailingComma": "none" }, "lint-staged": { "*.md": "yaspeller", "*.{js,mjs,ts}": [ "prettier --write", "eslint --fix" ] }, "yaspeller": { "lang": "en", "ignoreCapitalization": true, "ignoreText": [ " \\(by [^)]+\\)." ], "dictionary": [ "Versioning", "PostCSS", "Browserslist", "shakable", "ESM", "CJS", "X1", "chainable", "strikethrough", "js", "Unprefix", "jorgebucaran", "lukeed", "Deno" ] }, "sharec": { "config": "@logux/sharec-config", "version": "0.11.0" }}