package.json
{
"name": "@xpbytes/moxie",
"version": "2.0.0",
"description": "Proxy based mock for node and v8",
"main": "dist/moxie.js",
"umd:main": "dist/moxie.umd.js",
"module": "dist/moxie.mjs",
"source": "moxie.ts",
"repository": "https://xpbytes.com/moxie",
"author": "Derk-Jan Karrenbeld <derk-jan@xpbytes.com>",
"license": "MIT",
"files": [
"README.md",
"LICENSE",
"/dist",
"moxie.ts"
],
"scripts": {
"build": "microbundle --no-compress",
"dev": "microbundle watch",
"pretest": "yarn build",
"test": "ava",
"test:coverage": "yarn nyc --reporter=lcov --reporter=html --reporter=text yarn test",
"prepublish": "rimraf dist && yarn format && yarn test && yarn lint",
"format:base": "yarn prettier --arrow-parens=avoid --parser=typescript --no-semi --single-quote --trailing-comma=none",
"format": "yarn format:base --write **/*.ts",
"format:check": "yarn format:base -c **/*.ts",
"lint": "yarn eslint . --ext .ts test/* --ext .ts"
},
"devDependencies": {
"@types/node": "^14.14.41",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"ava": "^3.15.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-prettier": "^3.4.0",
"microbundle": "^0.12.4",
"nyc": "^15.1.0",
"prettier": "2.1.2",
"rimraf": "^3.0.2",
"terser": "^5.7.0",
"typescript": "^4.2.4"
},
"ava": {
"nodeArguments": [
"--experimental-modules"
]
}
}