Mirror: A maybe slightly safer-ish wrapper around eval Function constructors
at main 1.8 kB view raw
1{ 2 "name": "evalish", 3 "description": "A maybe slightly safer-ish wrapper around eval Function constructors", 4 "DISCLAIMER": "Please maybe try something else first.. Please.", 5 "version": "0.1.8", 6 "main": "dist/evalish.js", 7 "module": "dist/evalish.mjs", 8 "types": "dist/types/index.d.ts", 9 "source": "src/index.ts", 10 "exports": { 11 ".": { 12 "import": "./dist/evalish.mjs", 13 "require": "./dist/evalish.js", 14 "types": "./dist/types/index.d.ts", 15 "source": "./src/index.ts" 16 }, 17 "./package.json": "./package.json" 18 }, 19 "sideEffects": false, 20 "license": "MIT", 21 "files": [ 22 "LICENSE", 23 "README.md", 24 "dist/" 25 ], 26 "keywords": [ 27 "eval", 28 "function", 29 "constructor" 30 ], 31 "author": "Phil Pluckthun <phil@kitten.sh>", 32 "repository": "https://github.com/kitten/evalish", 33 "bugs": { 34 "url": "https://github.com/kitten/evalish/issues" 35 }, 36 "scripts": { 37 "check": "tsc", 38 "build": "rollup -c rollup.config.js", 39 "prepublishOnly": "run-s check build" 40 }, 41 "prettier": { 42 "singleQuote": true, 43 "arrowParens": "avoid", 44 "trailingComma": "es5" 45 }, 46 "lint-staged": { 47 "*.{js,ts}": "prettier --write", 48 "*.json": "prettier --write", 49 "*.md": "prettier --write" 50 }, 51 "husky": { 52 "hooks": { 53 "pre-commit": "lint-staged --quiet --relative" 54 } 55 }, 56 "devDependencies": { 57 "@rollup/plugin-buble": "^0.21.3", 58 "@rollup/plugin-commonjs": "^21.0.2", 59 "@rollup/plugin-node-resolve": "^13.1.3", 60 "@types/node": "^18.0.6", 61 "@types/react": "^17.0.42", 62 "husky-v4": "^4.3.8", 63 "lint-staged": "^12.3.7", 64 "npm-run-all": "^4.1.5", 65 "prettier": "^2.6.0", 66 "rollup": "^2.70.1", 67 "rollup-plugin-terser": "^7.0.2", 68 "rollup-plugin-typescript2": "^0.31.2", 69 "typescript": "^4.6.2" 70 } 71}