UNPKG

@rayners/foundry-dev-tools

Version:

Shared development tools and configurations for FoundryVTT modules

23 lines 1.08 kB
{ "scripts": { "build": "rollup -c", "watch": "rollup -c -w", "dev": "SERVE=true rollup -c -w", "clean": "rm -rf dist", "prebuild": "npm run clean", "lint": "eslint src --ext .ts,.js", "lint:fix": "eslint src --ext .ts,.js --fix", "format": "prettier --write \"src/**/*.{ts,js,json}\" \"test/**/*.{ts,js}\" \"*.{js,json,md}\"", "format:check": "prettier --check \"src/**/*.{ts,js,json}\" \"test/**/*.{ts,js}\" \"*.{js,json,md}\"", "typecheck": "tsc --noEmit", "test": "vitest", "test:run": "vitest run", "test:watch": "vitest --watch", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage", "test:junit": "vitest run --reporter=default --reporter=junit --outputFile=test-report.junit.xml", "test:coverage:junit": "vitest run --coverage --reporter=default --reporter=junit --outputFile=test-report.junit.xml", "validate": "npm run lint && npm run format:check && npm run typecheck && npm run test:run && npm run build", "link-module": "node ../foundry-dev-tools/scripts/link-module.js" } }