UNPKG

@typed/content-hash

Version:

Content hash a directory of HTML/JS/CSS files and other static assets

86 lines (85 loc) 2.52 kB
{ "name": "@typed/content-hash", "version": "0.10.1", "description": "Content hash a directory of HTML/JS/CSS files and other static assets", "main": "lib/index.js", "types": "lib/index.d.ts", "typings": "lib/index.d.ts", "bin": { "typed-content-hash": "lib/cli/content-hash.js" }, "scripts": { "build": "rimraf lib && tsc --outDir lib", "test": "concurrently 'npm:lint' 'npm:unit-test'", "unit-test": "mocha -r ts-node/register 'src/**/*.test.ts'", "lint": "eslint src --ext .js,.jsx,.ts,.tsx --fix", "precommit": "lint-staged", "preversion": "npm test && npm run build", "postversion": "npm publish --access=public", "watch": "npm run build -- --watch" }, "repository": { "type": "git", "url": "git+https://github.com/TylorS/typed-content-hash.git" }, "keywords": [ "content-hash", "static", "files", "html", "js", "css", "optimization", "cache" ], "author": "Tylor Steinberger <tlsteinberger167@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/TylorS/typed-content-hash/issues" }, "homepage": "https://github.com/TylorS/typed-content-hash#readme", "dependencies": { "@ampproject/remapping": "^1.0.1", "@typed/fp": "^0.14.0", "base64url": "^3.0.1", "builtin-modules": "^3.2.0", "css-tree": "^1.1.3", "enhanced-resolve": "^5.7.0", "fp-ts": "^3.0.0-alpha.19", "himalaya": "^1.1.0", "magic-string": "^0.25.7", "resolve": "^1.20.0", "ts-morph": "^10.0.2", "tsconfig-paths": "^3.9.0", "tslib": "^2.1.0", "typed-colors": "^1.0.0", "typed-figures": "^1.0.0", "yargs": "^16.2.0" }, "devDependencies": { "@types/css-tree": "^1.0.5", "@types/mocha": "^8.2.2", "@types/node": "^14.14.37", "@types/react": "^17.0.3", "@types/resolve": "^1.20.0", "@types/yargs": "^16.0.1", "@typescript-eslint/eslint-plugin": "^4.20.0", "@typescript-eslint/parser": "^4.20.0", "concurrently": "^6.0.0", "eslint": "^7.23.0", "eslint-config-prettier": "^8.1.0", "eslint-import-resolver-custom-alias": "^1.2.0", "eslint-import-resolver-typescript": "^2.4.0", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-simple-import-sort": "^7.0.0", "husky": "^6.0.0", "lint-staged": "^10.5.4", "mocha": "^9.1.3", "prettier": "^2.2.1", "react": "^17.0.2", "rimraf": "^3.0.2", "ts-node": "^9.1.1", "typescript": "^4.2.3" } }