UNPKG

@poppinss/string

Version:

A collection of helpers to perform operations on/related to a string value

132 lines (131 loc) 3.21 kB
{ "name": "@poppinss/string", "description": "A collection of helpers to perform operations on/related to a string value", "version": "1.7.1", "type": "module", "files": [ "build", "!build/bin", "!build/tests" ], "exports": { ".": "./build/index.js", "./types": "./build/src/types.js", "./builder": "./build/string_builder.js" }, "scripts": { "pretest": "npm run lint", "test": "c8 npm run quick:test", "lint": "eslint .", "format": "prettier --write .", "typecheck": "tsc --noEmit", "precompile": "npm run lint", "compile": "tsdown && tsc --emitDeclarationOnly --declaration", "build": "npm run compile", "version": "npm run build", "prepublishOnly": "npm run build", "release": "release-it", "quick:test": "node --import=@poppinss/ts-exec --enable-source-maps bin/test.ts" }, "devDependencies": { "@adonisjs/eslint-config": "^3.0.0-next.5", "@adonisjs/prettier-config": "^1.4.5", "@adonisjs/tsconfig": "^2.0.0-next.3", "@japa/assert": "^4.1.1", "@japa/expect": "^3.0.6", "@japa/expect-type": "^2.0.3", "@japa/file-system": "^2.3.2", "@japa/runner": "^4.4.0", "@japa/snapshot": "^2.0.9", "@lukeed/ms": "^2.0.2", "@poppinss/colors": "^4.1.6", "@poppinss/ts-exec": "^1.4.1", "@release-it/conventional-changelog": "^10.0.3", "@types/bytes": "^3.1.5", "@types/node": "^25.0.1", "bytes": "^3.1.2", "c8": "^10.1.3", "eslint": "^9.39.1", "prettier": "^3.7.4", "release-it": "^19.1.0", "string-width": "^8.1.0", "truncatise": "^0.0.8", "tsdown": "^0.17.3", "typescript": "^5.9.3" }, "dependencies": { "@types/pluralize": "^0.0.33", "case-anything": "^3.1.2", "pluralize": "^8.0.0", "slugify": "^1.6.6" }, "homepage": "https://github.com/poppinss/string#readme", "repository": { "type": "git", "url": "git+https://github.com/poppinss/string.git" }, "bugs": { "url": "https://github.com/poppinss/string/issues" }, "keywords": [ "string", "helpers", "utils" ], "author": "Harminder Virk <virk@adonisjs.com>", "license": "MIT", "publishConfig": { "access": "public", "provenance": true }, "tsdown": { "entry": [ "index.ts", "src/types.ts", "string_builder.ts" ], "outDir": "./build", "clean": true, "format": "esm", "minify": "dce-only", "fixedExtension": false, "dts": false, "treeshake": false, "sourcemaps": false, "target": "esnext" }, "release-it": { "git": { "requireCleanWorkingDir": true, "requireUpstream": true, "commitMessage": "chore(release): ${version}", "tagAnnotation": "v${version}", "push": true, "tagName": "v${version}" }, "github": { "release": true }, "npm": { "publish": true, "skipChecks": true }, "plugins": { "@release-it/conventional-changelog": { "preset": { "name": "angular" } } } }, "c8": { "reporter": [ "text", "html" ], "exclude": [ "tests/**" ] }, "prettier": "@adonisjs/prettier-config" }