67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"name": "@hoppscotch/js-sandbox",
|
|
"version": "2.1.0",
|
|
"description": "JavaScript sandboxes for running external scripts used by Hoppscotch clients",
|
|
"main": "./lib/index.js",
|
|
"module": "./lib/index.mjs",
|
|
"type": "commonjs",
|
|
"exports": {
|
|
".": {
|
|
"require": "./lib/index.js",
|
|
"default": "./lib/index.mjs"
|
|
}
|
|
},
|
|
"types": "./lib/",
|
|
"engines": {
|
|
"node": ">=14",
|
|
"pnpm": ">=3"
|
|
},
|
|
"scripts": {
|
|
"lint": "eslint --ext .ts,.js --ignore-path .gitignore .",
|
|
"lintfix": "eslint --fix --ext .ts,.js --ignore-path .gitignore .",
|
|
"test": "pnpm exec jest",
|
|
"build": "pnpm exec tsup",
|
|
"clean": "pnpm tsc --build --clean",
|
|
"postinstall": "pnpm run build",
|
|
"prepublish": "pnpm run build",
|
|
"do-lint": "pnpm run lint",
|
|
"do-lintfix": "pnpm run lintfix",
|
|
"do-typecheck": "pnpm exec tsc --noEmit",
|
|
"do-build-prod": "pnpm run build",
|
|
"do-test": "pnpm run test"
|
|
},
|
|
"keywords": [
|
|
"hoppscotch",
|
|
"sandbox",
|
|
"js-sandbox",
|
|
"apis",
|
|
"test-runner"
|
|
],
|
|
"author": "Hoppscotch (support@hoppscotch.io)",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@hoppscotch/data": "workspace:^",
|
|
"fp-ts": "^2.11.10",
|
|
"lodash": "^4.17.21",
|
|
"quickjs-emscripten": "^0.15.0",
|
|
"tsup": "^5.12.5"
|
|
},
|
|
"devDependencies": {
|
|
"@digitak/esrun": "^3.1.2",
|
|
"@relmify/jest-fp-ts": "^2.0.1",
|
|
"@types/jest": "^27.4.1",
|
|
"@types/lodash": "^4.14.181",
|
|
"@types/node": "^17.0.24",
|
|
"@typescript-eslint/eslint-plugin": "^5.19.0",
|
|
"@typescript-eslint/parser": "^5.19.0",
|
|
"eslint": "^8.13.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"io-ts": "^2.2.16",
|
|
"jest": "^27.5.1",
|
|
"prettier": "^2.8.4",
|
|
"ts-jest": "^27.1.4",
|
|
"typescript": "^4.6.3"
|
|
}
|
|
}
|