UNPKG

async-test-util

Version:

Util-functions that are be useful in async tests

97 lines (96 loc) 3.04 kB
{ "name": "async-test-util", "version": "2.5.0", "description": "Util-functions that are be useful in async tests", "keywords": [ "async", "assert", "test", "testing", "util", "utils", "mocha", "karma", "wait", "wait-until", "assert", "is-promise", "random", "jest", "karma" ], "main": "./dist/lib/index.js", "jsnext:main": "./dist/es/index.js", "module": "./dist/es/index.js", "types": "./src/index.d.ts", "scripts": { "test:node": "npm run build && mocha -b --exit", "test:browser": "npm run build && karma start ./config/karma.conf.js --single-run", "test": "npm run test:node && npm run test:browser", "lint": "eslint src test", "clear": "rimraf -rf ./dist", "build:es6": "rimraf -rf dist/es && cross-env NODE_ENV=es6 babel src --out-dir dist/es", "build:es5": "cross-env NODE_ENV=es5 babel src --out-dir dist/lib", "build": "npm run clear && npm run build:es6 && npm run build:es5" }, "repository": { "type": "git", "url": "git+https://github.com/pubkey/async-test-util.git" }, "author": "pubkey", "license": "Apache-2.0", "bugs": { "url": "https://github.com/pubkey/async-test-util/issues" }, "homepage": "https://github.com/pubkey/async-test-util#readme", "devDependencies": { "@babel/cli": "7.24.5", "@babel/core": "7.24.5", "@babel/plugin-external-helpers": "7.24.1", "@babel/plugin-proposal-class-properties": "7.18.6", "@babel/plugin-proposal-object-rest-spread": "7.20.7", "@babel/plugin-transform-literals": "7.24.1", "@babel/plugin-transform-member-expression-literals": "7.24.1", "@babel/plugin-transform-modules-commonjs": "7.24.1", "@babel/plugin-transform-property-literals": "7.24.1", "@babel/plugin-transform-runtime": "7.24.3", "@babel/plugin-transform-spread": "7.24.1", "@babel/plugin-transform-template-literals": "7.24.1", "@babel/plugin-transform-typescript": "7.24.5", "@babel/polyfill": "7.12.1", "@babel/preset-env": "7.24.5", "@babel/preset-typescript": "7.24.1", "@babel/types": "7.24.5", "assert": "2.1.0", "cross-env": "7.0.3", "eslint": "8.57.0", "karma": "6.4.3", "karma-babel-preprocessor": "8.0.2", "karma-chrome-launcher": "3.2.0", "karma-coverage": "2.2.1", "karma-detect-browsers": "2.3.3", "karma-edge-launcher": "0.4.2", "karma-firefox-launcher": "2.1.3", "karma-ie-launcher": "1.0.0", "karma-mocha": "2.0.1", "karma-opera-launcher": "1.0.0", "karma-safari-launcher": "1.0.0", "karma-webpack": "5.0.1", "mocha": "10.4.0", "process": "0.11.10", "rimraf": "5.0.5", "webpack": "5.91.0" }, "dependencies": { "@babel/runtime": "7.24.5", "@types/clone": "2.1.4", "clone": "2.1.2", "deep-equal": "2.2.3", "is-node": "1.0.2" }, "browser": { "./src/require-on-node-only.js": false, "./dist/es/require-on-node-only.js": false, "./dist/lib/require-on-node-only.js": false } }