snowpack-plugin-content-hash
Version:
A plugin for snowpack which will add a hash in the file name. The hash is based on the files content.
38 lines (37 loc) • 951 B
JSON
{
"name": "snowpack-plugin-content-hash",
"version": "1.2.1",
"author": "akejolin",
"description": "A plugin for snowpack which will add a hash in the file name. The hash is based on the files content.",
"license": "MIT",
"main": "src/plugin.js",
"scripts": {
"clean": "rm -rf build",
"build": "npm run clean && mkdir build && cp -r src/__mock__ build/__mock__",
"test": "npm run build && jest -u",
"lint": "eslint src"
},
"keywords": [
"snowpack",
"snowpack-plugin",
"content-hash",
"hash",
"cache"
],
"repository": {
"type": "git",
"url": "git+https://github.com/akejolin/snowpack-plugin-content-hash.git"
},
"devDependencies": {
"eslint": "^7.8.1",
"eslint-plugin-react": "^7.20.6",
"jest": "^26.4.2",
"snowpack": "^2.6.4"
},
"dependencies": {
"crypto": "^1.0.1",
"esprima": "^4.0.1",
"recursive-readdir": "^2.2.2",
"replace": "^1.2.0"
}
}