package.json
{
"name": "git-rev-webpack-plugin",
"version": "0.3.1",
"description": "Webpack plugin to use git branch, hash and tag as substitutions for file names",
"author": "Gil Barbara <gilbarbara@gmail.com>",
"keywords": [
"webpack",
"git",
"branch",
"hash",
"tag"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/gilbarbara/git-rev-webpack-plugin.git"
},
"bugs": {
"url": "https://github.com/gilbarbara/git-rev-webpack-plugin/issues"
},
"homepage": "https://github.com/gilbarbara/git-rev-webpack-plugin#readme",
"main": "lib/index.js",
"module": "esm/index.js",
"files": [
"lib",
"esm",
"src"
],
"types": "lib",
"dependencies": {},
"devDependencies": {
"@gilbarbara/tsconfig": "^0.1.0",
"@size-limit/preset-small-lib": "^4.9.1",
"@types/fs-extra": "^9.0.6",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.12.0",
"css-loader": "^5.0.1",
"eslint": "^7.17.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"file-loader": "^6.2.0",
"fs-extra": "^9.0.1",
"html-webpack-plugin": "^4.5.1",
"husky": "^4.3.7",
"is-ci-cli": "^2.1.2",
"jest": "^26.6.3",
"mini-css-extract-plugin": "^1.3.3",
"prettier": "^2.2.1",
"repo-tools": "^0.2.1",
"rimraf": "^3.0.2",
"size-limit": "^4.9.1",
"ts-add-module-exports": "^1.0.0",
"ts-jest": "^26.4.4",
"ts-node": "^9.1.1",
"typescript": "^4.1.3",
"webpack": "^5.12.2"
},
"scripts": {
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"build:cjs": "tsc && ts-add-module-exports",
"build:esm": "tsc -m es6 --outDir esm",
"watch:cjs": "npm run build:cjs -- -w",
"watch:esm": "npm run build:esm -- -w",
"clean": "rimraf lib && rimraf esm",
"lint": "eslint --ext .ts,.tsx src test",
"test": "is-ci \"test:coverage\" \"test:watch\"",
"test:coverage": "jest --bail --coverage",
"test:watch": "jest --watch --verbose",
"format": "prettier \"**/*.{js,jsx,json,yml,yaml,css,less,scss,ts,tsx,md,graphql,mdx}\" --write",
"validate": "npm run lint && npm run test:coverage && npm run build && npm run size",
"size": "size-limit",
"prepublishOnly": "npm run validate"
},
"prettier": {
"arrowParens": "avoid",
"printWidth": 100,
"proseWrap": "never",
"singleQuote": true,
"trailingComma": "all"
},
"size-limit": [
{
"path": "./lib/index.js",
"limit": "1 KB",
"webpack": false
},
{
"path": "./esm/index.js",
"limit": "1 KB",
"webpack": false
}
],
"husky": {
"hooks": {
"pre-commit": "repo-tools check-remote && npm run validate",
"post-merge": "repo-tools install-packages"
}
}
}