purs-tidy
Version:
A syntax tidy-upper (formatter) for PureScript.
52 lines (51 loc) • 1.9 kB
JSON
{
"name": "purs-tidy",
"version": "0.11.1",
"type": "module",
"description": "A syntax tidy-upper (formatter) for PureScript.",
"bin": {
"purs-tidy": "bin/index.js"
},
"directories": {
"test": "test"
},
"files": [
"bin/index.js",
"bundle/**/*.js"
],
"scripts": {
"version": "echo 'export const version = \"v'$npm_package_version'\";' > ./bin/src/Bin/Version.js && git add ./bin/src/Bin/Version.js",
"postversion": "git push && git push --tags",
"build": "spago build --quiet",
"bundle": "npm run build && purs-backend-es build --int-tags && npm run bundle:main && npm run bundle:worker",
"bundle:main": "purs-backend-es bundle-module --platform node --to \"./bundle/Main/index.js\" --no-build --minify",
"bundle:worker": "purs-backend-es bundle-app --platform node --to \"./bundle/Bin.Worker/index.js\" --main Bin.Worker --no-build --minify",
"test": "spago test",
"generate-default-operators": "spago run -p tidy-script -m GenerateDefaultOperatorsModule",
"format-self": "npm run build && node ./bin/index.js format-in-place src bin script test-snapshots",
"check-self": "node ./bin/index.js check src 'test/*.purs' src bin script test-snapshots",
"prepublishOnly": "rm -rf output bundle && npm run bundle"
},
"repository": {
"type": "git",
"url": "git+https://github.com/natefaubion/purescript-tidy.git"
},
"keywords": [
"PureScript",
"formatter",
"format"
],
"author": "Nathan Faubion <nathan@n-son.com> (https://github.com/natefaubion/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/natefaubion/purescript-tidy/issues"
},
"homepage": "https://github.com/natefaubion/purescript-tidy#readme",
"devDependencies": {
"esbuild": "^0.25.0",
"purescript": "^0.15.15",
"purs-backend-es": "^1.4.2",
"purs-tidy": "^0.11.0",
"spago": "^0.93.43"
}
}