generated from textbook/starter-kit
/
package.json
71 lines (71 loc) · 2.48 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "impasse",
"version": "0.12.16",
"description": "Generate moderately secure passwords",
"private": true,
"scripts": {
"prebuild": "npm run cleanup",
"build": "npm run build:server && npm run build:client",
"postbuild": "buildinfo --output dist/static/build-info.txt",
"build:client": "npm --workspace packages/client run build",
"build:server": "npm --workspace packages/server run build",
"cleanup": "rimraf ./dist/*",
"predev": "npm run cleanup",
"dev": "concurrently --kill-others \"npm:dev:*\"",
"dev:client": "npm --workspace packages/client run dev",
"dev:server": "npm --workspace packages/server run dev",
"predocker": "docker build . --tag textbook/impasse --build-arg NODE_RELEASE=$(cat .nvmrc)",
"docker": "docker run --env NODE_ENV=development --init --publish 3000:80 textbook/impasse",
"e2e": "concurrently --kill-others --names \"app,e2e\" --success first \"npm:serve\" \"npm:e2e:safe\"",
"e2e:docker": "concurrently --kill-others --names \"app,e2e\" --success first \"npm:docker\" \"npm:e2e:safe\"",
"e2e:run": "npm --workspace packages/e2e run e2e",
"e2e:safe": "wait-on --log --timeout 180000 http-get://localhost:3000 && npm run e2e:run",
"lint": "eslint .",
"preserve": "npm run build",
"serve": "npm start",
"ship": "npm run lint && npm run test && npm run e2e",
"start": "node dist/server.js",
"test": "npm --workspaces --if-present run test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/textbook/impasse.git"
},
"author": {
"name": "Jonathan Sharpe",
"email": "mail@jonrshar.pe",
"url": "https://hello.jonrshar.pe"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/textbook/impasse/issues"
},
"homepage": "https://github.com/textbook/impasse#readme",
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.4",
"@babel/eslint-parser": "^7.21.3",
"@babel/plugin-transform-runtime": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@codeyourfuture/eslint-config-standard": "^3.0.3",
"@textbook/build-info": "^0.5.0",
"concurrently": "^8.0.1",
"cross-env": "^7.0.3",
"eslint": "^8.39.0",
"eslint-plugin-jest": "^27.2.1",
"jest": "^29.5.0",
"msw": "^1.2.1",
"rimraf": "^5.0.0",
"wait-on": "^7.0.1"
},
"engineStrict": true,
"engines": {
"node": "18.16.0",
"npm": "9.5.1"
},
"workspaces": [
"packages/client",
"packages/server",
"packages/e2e"
]
}