pathname-ts
Version:
A partial implementation of Ruby's Pathname class for Node.js.
49 lines (48 loc) • 1.53 kB
JSON
{
"name": "pathname-ts",
"version": "0.3.0",
"description": "A partial implementation of Ruby's Pathname class for Node.js.",
"author": "Clay Dunston <dunstontc@gmail.com>",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/index.js",
"dist/index.js.map",
"dist/index.d.ts"
],
"scripts": {
"build": "npm run build:clean && npm run build:rollup && npm run build:types",
"build:clean": "cross-env rimraf ./dist/*",
"build:rollup": "cross-env rollup -c rollup.config.js",
"build:types": "cross-env copyfiles ./src/@types/index.d.ts ./dist --flat",
"test": "cross-env ts-node ./src/main.ts",
"tag": "node ./scripts/tag.mjs"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.3.3",
"@types/node": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^8.19.0",
"inquirer": "^9.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.76.0",
"shelljs": "^0.8.5",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.4"
},
"keywords": [
"Pathname",
"pathname",
"fs",
"file system",
"Ruby",
"ruby"
]
}