-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 4.03 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 4.03 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "mweserver",
"version": "1.0.0",
"devPlatform": "linux",
"description": "My Workflow Engine Server for node.js.",
"main": "dist/index.js",
"author": "MWarCZ",
"license": "MIT",
"env": {
"path": {
"dist": "dist",
"src": "src",
"doc": "doc/generated",
"coverage": "coverageX",
"testin": "tests",
"testout": "coverage"
}
},
"scripts": {
"env": "env | sort | grep --color '^npm_'",
"start": "$npm_execpath start:gql",
"start:first": "node $npm_execpath start:gql",
"prestart:first": "$npm_execpath run setup:db && $npm_execpath run load:ugm;",
"start:gql": "node $npm_package_env_path_dist/gqlServer.service.js",
"start:runner": "node $npm_package_env_path_dist/runnerServer.service.js",
"serve:gql": "NODE_ENV=ts ts-node $npm_package_env_path_src/gqlServer.service.ts",
"serve:runner": "NODE_ENV=ts ts-node $npm_package_env_path_src/runnerServer.service.ts",
"build:clean": "rm -rf $npm_package_env_path_dist",
"prebuild": "$npm_execpath run build:clean && $npm_execpath run gen:gql",
"build": "tsc --outDir $npm_package_env_path_dist",
"build:watch": "$npm_execpath run build -w",
"postbuild": "$npm_execpath run copy",
"test:clean": "rm -rf $npm_package_env_path_testout",
"test": "NODE_ENV=ts jest --config jest.config.json --forceExit --verbose --detectOpenHandles",
"pretest:cov": "$npm_execpath run test:clean",
"test:cov": "NODE_ENV=ts jest --config jest.config.json --forceExit --coverage --verbose --detectOpenHandles --coverageDirectory $npm_package_env_path_testout",
"test:lint": "tslint -c tslint.json -p tsconfig.test.json --format codeFrame",
"test:watch": "$npm_execpath run test -- --watchAll",
"test:subdir": "$npm_execpath run test -- -i $npm_package_env_path_dist/",
"doc:clean": "rm -rf $npm_package_env_path_doc",
"predoc": "$npm_execpath run doc:clean",
"doc": "typedoc --options typedoc.json --out $npm_package_env_path_doc",
"lint": "tslint -c tslint.json -p tsconfig.json --format codeFrame",
"lint:fix": "$npm_execpath run lint --fix",
"gen:gql": "graphql-codegen --config .graphqlconfig.yml",
"typeorm": "NODE_ENV=ts ts-node node_modules/typeorm/cli.js",
"setup:db": "typeorm schema:drop && typeorm schema:sync",
"load:ugm": "NODE_ENV=ts ts-node ./tests/utils/loadRes2Db.bin.ts UGM=../resources/db/UGM_0",
"copy": "$npm_execpath run copy:gql",
"copy:gql": "copyfiles -u 1 'src/**/*.css' 'src/**/*.html' 'src/**/*.gql' 'src/**/*.graphql' 'src/**/*.json' $npm_package_env_path_dist",
"clean": "$npm_execpath run build:clean; $npm_execpath run test:clean; ",
"clean:node": "rm -rf node_modules;",
"clean:all": "$npm_execpath run clean; $npm_execpath run clean:node;"
},
"devDependencies": {
"@graphql-codegen/add": "^1.12.1",
"@graphql-codegen/cli": "^1.11.2",
"@graphql-codegen/typescript": "^1.11.2",
"@graphql-codegen/typescript-resolvers": "^1.11.2",
"@types/bcryptjs": "^2.4.2",
"@types/he": "^1.1.1",
"@types/jest": "^24.0.18",
"@types/jsonwebtoken": "^8.3.8",
"@types/node": "^13.5.0",
"@types/passport": "^1.0.2",
"@types/passport-http-bearer": "^1.0.34",
"@types/passport-local": "^1.0.33",
"@types/uuid": "^3.4.6",
"@types/ws": "^7.2.0",
"copyfiles": "^2.2.0",
"jest": "^24.9.0",
"jest-extended": "^0.11.5",
"lint-staged": "^10.1.1",
"ts-jest": "^24.1.0",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"typedoc": "^0.15.0",
"typescript": "^3.6.4"
},
"dependencies": {
"bcryptjs": "^2.4.3",
"fast-xml-parser": "^3.16.0",
"graphql-import": "^0.7.1",
"graphql-yoga": "^1.18.3",
"he": "^1.2.0",
"jsonwebtoken": "^8.5.1",
"mysql": "^2.18.1",
"passport": "^0.4.1",
"passport-http-bearer": "^1.0.1",
"passport-local": "^1.0.0",
"typeorm": "^0.2.22",
"uuid": "^3.4.0",
"vm2": "^3.8.4"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"*.{js,ts}": [
"$npm_execpath run lint --fix",
"git add"
]
}
}