UNPKG

safe-webpack-define-plugin

Version:

A webpack (typescript ready) plugin to define global variables on outputted bundles

53 lines (52 loc) 1.65 kB
{ "name": "safe-webpack-define-plugin", "version": "1.0.9", "description": "A webpack (typescript ready) plugin to define global variables on outputted bundles", "main": "dist/index.js", "types": "dist/index.d.ts", "typings": "dist/index.d.ts", "scripts": { "build": "rm -rf dist/ && tsc --project buildtsconfig.json", "preversion": "npm run audit", "audit": "npm run format && npm run coverage && npm run build", "format": "prettier --write . && eslint . --fix", "test": "jest --no-cache --maxWorkers=2", "coverage": "jest --no-cache --coverage --maxWorkers=2" }, "keywords": [ "webpack", "plugin", "typescript", "variables", "safe" ], "repository": { "type": "git", "url": "git+https://github.com/filipomar/safe-define-plugin.git" }, "author": { "name": "Filipe Pomar", "email": "filipomar@hotmail.com" }, "license": "MIT", "bugs": { "url": "https://github.com/filipomar/safe-define-plugin/issues" }, "homepage": "https://github.com/filipomar/safe-define-plugin#readme", "dependencies": { "webpack": "^5.73.0" }, "devDependencies": { "@types/jest": "^28.1.6", "@typescript-eslint/eslint-plugin": "^5.30.7", "@typescript-eslint/parser": "^5.30.7", "eslint": "^8.20.0", "eslint-config-prettier": "^8.5.0", "jest": "^28.1.3", "prettier": "^2.7.1", "ts-jest": "^28.0.7", "ts-loader": "^9.3.1", "ts-node": "^10.9.1", "typescript": "^4.7.4" } }