forked from mapwatch/mapwatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
45 lines (45 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
{
"name": "mapwatch",
"scripts": {
"prepare": "lerna run prepare --stream",
"tf:init": "terraform init",
"tf:plan": "terraform plan",
"tf:apply": "terraform apply -auto-approve",
"dev:electron": "cd ./packages/electron && yarn dev",
"build:electron": "cd ./packages/electron && yarn build",
"start:electron": "cd ./packages/electron && yarn start",
"start-dist:electron": "cd ./packages/electron && yarn start-dist",
"test:electron": "cd ./packages/electron && yarn test",
"test-dist:electron": "cd ./packages/electron && yarn test-dist",
"dev:www": "cd ./packages/www && yarn dev",
"start:www": "cd ./packages/www && yarn start",
"build:www": "cd ./packages/www && yarn build",
"lib:demo": "cd ./packages/lib && yarn demo",
"lib:demo-raw-elm": "cd ./packages/lib && yarn demo-raw-elm",
"//test": "TODO: these are just crude smoke tests. Write real unit tests. (They feel less necessary with elm's awesome type system, though.)",
"test": "NO_WATCH=1 sh -c 'yarn lib:demo >/dev/null && yarn lib:demo-raw-elm >/dev/null'",
"build": "lerna run build --stream",
"release": "cd ./packages/electron && yarn release",
"clean": "lerna run clean --stream && rimraf *.log",
"clean:npm": "yarn clean && lerna exec 'rimraf ./node_modules' --stream && rimraf ./node_modules"
},
"license": "GPL-3.0",
"private": true,
"workspaces": {
"//nohoist": "./packages/electron needs all production packages non-hoisted for its build step",
"nohoist": [
"@mapwatch/electron/**"
],
"packages": [
"packages/*"
]
},
"//optionalDependencies": "because travis fails to install me, but doesn't actually need me",
"optionalDependencies": {
"terraform-npm": "0.2.6"
},
"devDependencies": {
"lerna": "^2.5.1",
"rimraf": "^2.6.2"
}
}