-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
48 lines (48 loc) · 1.81 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "purs-tidy",
"version": "0.11.0",
"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/Bin/Version.js && git add ./bin/Bin/Version.js",
"postversion": "git push && git push --tags",
"build": "spago -x bin/spago.dhall build",
"build:corefn": "spago -x bin/spago.dhall build -u '-g corefn,js'",
"bundle": "npm run build:corefn && purs-backend-es build && npm run bundle:main && npm run bundle:worker",
"bundle:main": "purs-backend-es bundle-module --platform node --to \"./bundle/Main/index.js\" --no-build",
"bundle:worker": "purs-backend-es bundle-app --platform node --to \"./bundle/Bin.Worker/index.js\" --main Bin.Worker --no-build",
"test": "spago -x test/spago.dhall test",
"generate-default-operators": "spago -x script/spago.dhall run -m GenerateDefaultOperatorsModule",
"format-self": "npm run build && node ./bin/index.js format-in-place src 'test/*.purs' bin script",
"check-self": "node ./bin/index.js check src 'test/*.purs' bin script",
"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 <[email protected]> (https://github.com/natefaubion/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/natefaubion/purescript-tidy/issues"
},
"homepage": "https://github.com/natefaubion/purescript-tidy#readme",
"devDependencies": {
"purs-backend-es": "^1.4.2"
}
}