-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
123 lines (123 loc) · 4.67 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "loop-monorepo-starter",
"private": true,
"version": "2.104.4",
"description": "loop monorepo starter project",
"dependencies": {
"aws-sdk": "^2.828.0",
"lodash": "^4.17.20",
"source-map-support": "^0.5.19",
"sqlite3": "^5.0.1",
"uuid": "^8.3.2"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/runtime": "^7.12.5",
"@types/jest": "^26.0.20",
"@types/lodash": "^4.14.168",
"@types/node": "14.14.21",
"@types/uuid": "^8.3.0",
"aws-sdk-mock": "^5.1.0",
"babel-loader": "^8.2.2",
"copy-webpack-plugin": "^7.0.0",
"husky": "^4.3.8",
"jest": "^26.6.3",
"jest-fetch-mock": "^3.0.3",
"lerna": "^3.22.1",
"@loop/tsconfig-base": "1.0.0",
"maddis-code-rules": "^1.2.0",
"prettier": "^2.2.1",
"pretty-quick": "^3.1.0",
"ts-jest": "^26.4.4",
"ts-loader": "^8.0.14",
"ts-node": "^9.1.1",
"tslint": "^6.1.3",
"typescript": "~4.1.3",
"webpack": "^5.15.0",
"webpack-cli": "^4.3.1"
},
"scripts": {
"loop:audit-monorepo": "npm run util:audit-monorepo",
"loop:bo": "npm run loop:bootstrap --",
"loop:bootstrap": "npm run monorepo:bootstrap",
"loop:ba": "npm run loop:buildall --",
"loop:buildall": "npm run build:all",
"loop:b": "npm run loop:buildmodule --",
"loop:buildmodule": "npm run build:module",
"loop:bq": "npm run loop:buildquick --",
"loop:buildquick": "npm run build:outofdate",
"loop:clean": "npm run build:clean",
"loop:clean-projects": "npm run build:clean-projects",
"loop:coverage": "npm run build:test:coverage",
"loop:find-outdated": "npm run util:find-outdated",
"loop:fl": "npm run loop:fixlint --",
"loop:fixlint": "npm run build:fixlint",
"loop:i": "npm run loop:init --",
"loop:init": "npm run monorepo:init",
"loop:l": "npm run loop:lint --",
"loop:lint": "npm run build:lint",
"loop:p": "npm run loop:prettier --",
"loop:prettier": "npm run build:prettier",
"loop:remove-git-in-npm-modules": "npm run util:remove-git-in-npm-modules",
"loop:t": "npm run loop:test --",
"loop:test": "npm run build:test",
"loop:tw": "npm run loop:test:watch --",
"loop:test:watch": "npm run build:test:watch",
"loop:update-refs": "npm run util:update-refs",
"loop:w": "npm run loop:watch --",
"loop:watch": "npm run build:watch",
"loop:sd": "bash -ic 'lerna run start-dev --stream --scope $0;'",
"build:all": "npm run build:clean-projects && npm run build:outofdate",
"build:outofdate": "lerna exec --ignore $npm_package_name --stream --concurrency 1 -- \\$LERNA_ROOT_PATH/bin/loop-build-module",
"build:clean": "git clean -dfX",
"build:clean-projects": "lerna exec --stream -- \\$LERNA_ROOT_PATH/bin/loop-clean-project",
"build:fixlint": "tslint --fix -c tslint.json '**/src/**/*.{ts,tsx}' --exclude '**/node_modules/**' --exclude '**/dist/**' --project tsconfig-lint.json",
"build:lint": "tslint -c tslint.json '**/src/**/*.{ts,tsx}' --exclude '**/node_modules/**' --exclude '**/dist/**' --project tsconfig-lint.json",
"build:buildmodule": "bash -ic 'lerna exec --scope $0 --stream -- \\$LERNA_ROOT_PATH/bin/loop-build-module'",
"build:prettier": "prettier --loglevel warn --write '**/src/**/*.ts' '**/src/**/*.tsx'",
"build:test": "jest --silent",
"build:test:coverage": "jest --silent --coverage",
"build:test:watch": "jest --watch",
"build:watch": "tsc -b -w -i --verbose",
"monorepo:bootstrap": "lerna bootstrap --force-local && npm run util:remove-git-in-npm-modules",
"monorepo:init": "npm run build:clean && npm run monorepo:bootstrap && npm run util:update-refs && npm run build:all",
"monorepo:husky": "npm run build:lint && npm run build:test",
"util:update-refs": "cd bin && ts-node patch-tsconfig-refs.ts",
"util:audit-monorepo": "cd bin && ts-node audit-monorepo.ts",
"util:find-outdated": "cd bin && ts-node find-outdated.ts",
"util:remove-git-in-npm-modules": "find applications -name .git | xargs rm -rf"
},
"jest": {
"globals": {
"DEVELOPER_FLAG": "",
"DEVELOPER_HOST": "",
"window": {},
"ts-jest": {
"isolatedModules": true
}
},
"globalSetup": "./jest-global-setup.js",
"setupFiles": [
"./jest-setup.js"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(src|test)/.*(\\.|-|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": [
"ts",
"tsx",
"json",
"js",
"jsx"
]
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged",
"pre-push": "lerna run monorepo:husky --stream"
}
}
}