@yhiot/testutils
Version:
用于测试的工具集
69 lines (68 loc) • 2.04 kB
JSON
{
"name": "@yhiot/testutils",
"version": "1.0.29",
"description": "用于测试的工具集",
"keywords": [
"测试工具",
"物联网"
],
"type": "module",
"private": false,
"author": "windsome.feng <36081189@qq.com>",
"homepage": "https://github.com/windsome/yhiot",
"license": "MIT",
"main": "lib/index.js",
"directories": {
"src": "src",
"lib": "lib",
"test": "__tests__"
},
"files": [
"lib",
"src"
],
"scripts": {
"precommit": "lint-staged",
"prebuild": "npm run types:check && npm run format && npm run lint && npm t",
"build": "npm run compile",
"compile": "babel src --extensions .js,.ts --ignore \"src/**/*.spec.js\",\"src/**/*.test.js\" --out-dir lib",
"types:check": "tsc",
"lint": "eslint --ext .js,.ts .",
"prettier": "prettier \"**/*.[j,t]s\"",
"format": "npm run prettier -- --write",
"format:check": "npm run prettier -- --list-different",
"test": "jest --forceExit",
"test:watch": "npm t -- --watch",
"test:ci": "npm t -- --config jest.config.ci.js"
},
"dependencies": {
"readline": "^1.3.0"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/plugin-transform-modules-commonjs": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-typescript": "^7.15.0",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.15.3",
"@types/bluebird": "^3.5.36",
"@types/debug": "^4.1.7",
"@types/redis": "^2.8.31",
"@typescript-eslint/eslint-plugin": "^4.29.1",
"@typescript-eslint/parser": "^4.29.2",
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.1",
"esm": "^3.2.25",
"husky": "^4.3.8",
"jest": "^27.0.6",
"lint-staged": "^11.1.2",
"node-notifier": "^10.0.0",
"prettier": "^2.3.2",
"typescript": "^4.3.5"
},
"gitHead": "0df2bbd70ead5f5145a9f4eebe13657b85d56230"
}