This repository has been archived by the owner on Mar 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
87 lines (87 loc) · 2.94 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "tentales-monorepo",
"version": "1.0.0",
"main": "index.ts",
"license": "MIT",
"private": true,
"scripts": {
"build": "yarn nuke && yarn build:compile && yarn build:postbuild",
"build:compile": "tsc --pretty --strict",
"build:watch": "nodemon --watch packages --ext ts,js --exec yarn build",
"build:postbuild": "node ./bin/postbuild.js",
"dev:simple":
"LOG_LEVEL=silly ts-node-dev --notify=false packages/tentales-example-simple/src/index.ts",
"dev:simple:check":
"tsc -p packages/tentales-example-simple -w --pretty --strict --noEmit",
"dev:advanced-front":
"LOG_LEVEL=silly SERVER_SECRET=superSecret nodemon --ext ts,js --exec ts-node ./packages/tentales-example-advanced/src/index.front.js",
"dev:advanced-back":
"LOG_LEVEL=silly SERVER_SECRET=superSecret nodemon --ext ts,js --exec ts-node ./packages/tentales-example-advanced/src/index.back.js",
"lint": "yarn lint:ts",
"lint:ts": "tslint --project .",
"test": "LOG_LEVEL=silent yarn jest --forceExit",
"test:watch": "LOG_LEVEL=silent yarn jest --watch",
"format": "prettier --write 'packages/**/*.{ts,json}'",
"precommit": "lint-staged",
"nuke": "yarn nuke:dist",
"nuke:dist": "rimraf 'dist'"
},
"prettier": {
"semi": false,
"jsxBracketSameLine": true,
"trailingComma": "all"
},
"lint-staged": {
"*.ts": ["prettier --write", "tslint --fix", "git add"],
"*.json": ["prettier --write", "git add"]
},
"workspaces": [
"packages/tentales",
"packages/tentales-data",
"packages/tentales-data-plugin-persistance-postgres",
"packages/tentales-editor",
"packages/tentales-example-advanced",
"packages/tentales-example-simple",
"packages/tentales-log",
"packages/tentales-renderer",
"packages/tentales-renderer-plugin-cache-in-memory",
"packages/tentales-renderer-plugin-cache-redis",
"packages/tentales-renderer-plugin-cloudfront",
"packages/tentales-renderer-plugin-s3",
"packages/tentales-router",
"packages/tentales-router-plugin-https-only",
"packages/tentales-static"
],
"jest": {
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": ".*\\.test.tsx?$",
"moduleFileExtensions": ["ts", "tsx", "json", "js"],
"coverageDirectory": "<rootDir>/reports/coverage",
"modulePathIgnorePatterns": ["dist"]
},
"jest-junit": {
"suiteName": "tentales",
"output": "reports/junit/test-results.xml",
"ancestorSeparator": " › ",
"usePathForSuiteName": "true"
},
"devDependencies": {
"fs-extra": "^5.0.0",
"husky": "^0.14.3",
"jest": "^22.4.2",
"jest-junit": "^3.6.0",
"lint-staged": "^6.1.0",
"nodemon": "^1.14.11",
"prettier": "^1.10.2",
"rimraf": "^2.6.2",
"ts-jest": "^22.4.1",
"ts-node": "^4.1.0",
"ts-node-dev": "^1.0.0-pre.16",
"tslint": "^5.9.1",
"tslint-config-prettier": "^1.8.0",
"tslint-junit-formatter": "^5.1.0",
"typescript": "^2.7.1"
}
}