under-the-sun
Version:
A nothing-new-under-the-sun testing framework.
95 lines (94 loc) • 2.7 kB
JSON
{
"name": "under-the-sun",
"version": "2.1.1",
"description": "A nothing-new-under-the-sun testing framework.",
"repository": {
"type": "git",
"url": "https://github.com/grant-dennison/under-the-sun"
},
"homepage": "https://github.com/grant-dennison/under-the-sun",
"keywords": [
"test",
"runner",
"testing",
"uts",
"fast",
"simple",
"library",
"async",
"typescript",
"alternative",
"uvu",
"ava",
"jest"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"browser": "./lib/index.browser.js",
"node": "./lib/index.js"
}
},
"bin": {
"under-the-sun": "./lib/cli.js",
"uts": "./lib/cli.js"
},
"scripts": {
"build": "run-p --aggregate-output build:cli build:lib",
"build:cli": "esbuild src/cli/main.ts --external:.. --bundle --platform=node --minify --outfile=lib/cli.js",
"build:lib": "esbuild src/index.ts src/index.browser.ts --bundle --platform=node --minify --outdir=lib",
"check-types": "tsc --noEmit",
"clean": "node -p \"require('fs').rmSync('lib',{force:true,recursive:true})\"",
"format": "prettier --no-semi --write .",
"generate-declarations": "tsc --emitDeclarationOnly",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"preprepublish": "npm run clean",
"prepublish": "run-p --aggregate-output build test generate-declarations",
"test": "run-p --aggregate-output check-types test:unit",
"test:watch": "watchlist --eager src -- npm test",
"test:unit": "node -r esbuild-register ./src/cli/main.ts ./src",
"test:unit:watch": "watchlist --eager src -- npm run test:unit"
},
"author": "Grant Dennison <grant.dennison@gmail.com>",
"license": "MIT",
"files": [
"lib/*.js",
"lib/define-test.d.ts",
"lib/index.d.ts",
"lib/reporter/test-reporter.d.ts",
"magic-global.d.ts"
],
"devDependencies": {
"@tsconfig/node16": "^1",
"@types/node": "^16",
"@typescript-eslint/eslint-plugin": "~5.33.1",
"@typescript-eslint/parser": "~5.33.1",
"esbuild": "^0.15.5",
"esbuild-register": "^3.3.3",
"eslint": "^8.22.0",
"esm": "^3.2.25",
"expect": "^28.1.3",
"npm-run-all": "^4.1.5",
"prettier": "~2.7.1",
"typescript": "~4.7",
"watchlist": "^0.3.1"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": [
"./tsconfig.json"
]
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
]
}
}