-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
28 lines (28 loc) · 1.35 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
{
"private": true,
"scripts": {
"format": "elm-format src dev/tests sample/src",
"start:prod": "elm-doc-preview --port=8010",
"start:dev": "cd dev && elm-doc-preview --port=8012",
"start:sample": "cd sample && elm reactor --port=8011",
"doc:sample": "cd sample && elm-doc-preview --port=8013",
"build:sample": "rimraf docs/ && cd sample && elm make src/Main.elm --output=../docs/index.html && elm make src/Advanced.elm --output=../docs/advanced.html",
"review:prod": "elm-review --fix",
"review:dev": "cd dev && elm-review --fix",
"review:sample": "cd sample && elm-review --fix --ignore-dirs=src/SPA --ignore-files=src/SPA.elm",
"test": "npm run test:prod && npm run test:dev && npm run test:sample",
"test:prod": "elm-review && elm-format --validate src && elm make --docs=/tmp/docs.json",
"test:dev": "cd dev && elm-review && elm-test && elm-format --validate src tests && elm make --docs=/tmp/docs.json",
"test:sample": "cd sample && elm-review --ignore-dirs=src/SPA --ignore-files=src/SPA.elm && elm-format --validate src && elm make src/Main.elm src/Advanced.elm src/SPA.elm --output=/dev/null"
},
"devDependencies": {
"elm-doc-preview": "^5.0.3",
"elm-format": "^0.8.3",
"elm-test": "^0.19.1"
},
"dependencies": {
"elm": "^0.19.1-5",
"elm-review": "^2.6.1",
"rimraf": "^2.7.1"
}
}