-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
160 lines (160 loc) · 5.25 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "@cotype/core",
"version": "0.0.0-development",
"main": "lib/",
"typings": "lib/index.d.ts",
"bin": {
"cotype_create_seeds": "./scripts/createSeeds.js"
},
"scripts": {
"clean": "rm -rf ./dist && rm -rf ./lib",
"reinit": "rm -rf node_modules; rm -rf demo/node_modules; rm demo/dev_db; rm -rf client/node-modules; npm i",
"prepare": "concurrently npm:install:client npm:install:demo npm:schema",
"install:client": "npm --prefix client i",
"install:demo": "npm --prefix demo i",
"lint": "tslint '**/*.{ts,tsx}' --exclude '**/node_modules/**/*' --exclude '**/lib/**'",
"test": "jest",
"schema": "npm run schema:models & npm run schema:navigation",
"schema:models": "typescript-json-schema --aliasRefs --noExtraProps ./tsconfig.json ModelsJson > ./models.schema.json",
"schema:navigation": "typescript-json-schema --topRef --aliasRefs ./tsconfig.json NavigationJson > ./navigation.schema.json",
"build": "rm -rf dist && NODE_ENV=production concurrently npm:build:client npm:build:server npm:schema",
"build:server": "tsc",
"build:client": "npm --prefix client run bundle",
"build:test-client": "export NODE_ENV=test; export REACT_APP_TEST_ENV=test; npm run build:client",
"watch:client": "npm --prefix client run watch",
"dev": "npm --prefix demo run dev",
"prod": "NODE_ENV=production npm --prefix demo start",
"start": "npm run dev",
"testserver": "npm --prefix demo run testserver",
"testserver:ci": "npm --prefix demo run testserver:ci",
"e2e": "npm run build:test-client && with-server --run=testserver:ci npm run cypress -- -- ",
"cypress": "cypress run --config=baseUrl=$SERVER_URL",
"e2e:dev": "npm run build:test-client && with-server --run=testserver:ci npm run cypress:dev",
"cypress:dev": "cypress open --config=baseUrl=$SERVER_URL",
"create-test-seeds": "./scripts/createSeeds.js ./cypress/support/knexfile.js"
},
"repository": {
"type": "git",
"url": "https://github.com/cotype/core.git"
},
"license": "SEE LICENSE IN LICENSE.md",
"dependencies": {
"@cypress/webpack-preprocessor": "^4.1.0",
"@slite/quill-delta-markdown": "0.0.8",
"@testing-library/jest-dom": "^5.7.0",
"bcryptjs": "2.4.3",
"chalk": "4.0.0",
"change-case": "^4.1.1",
"cookie-session": "^1.4.0",
"crypto-random-string": "^3.2.0",
"express": "^4.17.1",
"express-promise-router": "^3.0.3",
"file-type": "^14.3.0",
"fs-extra": "^9.0.0",
"glob-promise": "^3.4.0",
"got": "^11.1.1",
"graphql": "^15.0.0",
"hasha": "^5.2.0",
"http-proxy-middleware": "1.0.3",
"image-size": "^0.8.3",
"knex": "^0.21.1",
"lodash": "^4.17.15",
"mdi-json": "^1.0.0",
"mudder": "^1.0.9",
"multer": "^1.4.2",
"openapi3-ts": "^1.3.0",
"pg-monitor": "^1.4.0",
"pluralize": "^8.0.0",
"probe-image-size": "^5.0.0",
"quill": "^1.3.7",
"quill-delta-to-html": "^0.11.0",
"swagger-ui-dist": "^3.25.2",
"temp-write": "^4.0.0",
"tempy": "^0.5.0",
"title-case": "^3.0.2",
"url-join": "^4.0.1",
"webpack": "^4.43.0"
},
"devDependencies": {
"@cotype/local-thumbnail-provider": "0.0.2",
"@types/bcryptjs": "2.4.2",
"@types/cookie": "^0.3.3",
"@types/cookie-session": "^2.0.39",
"@types/faker": "^4.1.11",
"@types/fs-extra": "^8.1.0",
"@types/got": "^9.6.10",
"@types/graphql": "^14.5.0",
"@types/http-proxy-middleware": "^0.19.3",
"@types/jest": "^25.2.1",
"@types/lodash": "^4.14.150",
"@types/multer": "^1.4.3",
"@types/pluralize": "0.0.29",
"@types/qs": "^6.9.2",
"@types/supertest": "^2.0.9",
"@types/swagger-ui-dist": "^3.0.5",
"@types/tough-cookie": "^4.0.0",
"@types/url-join": "^4.0.0",
"@xiphe/cypress-parcel-preprocessor": "1.0.1-RC.1",
"codecov": "3.6.5",
"concurrently": "^5.2.0",
"cypress": "^3.8.3",
"cypress-file-upload": "^3.3.4",
"decorate-gh-pr": "1.2.3",
"faker": "^4.1.0",
"get-port-cli": "^2.0.0",
"install": "^0.13.0",
"jest": "^26.0.1",
"mysql": "^2.18.1",
"pg": "^8.0.3",
"prettier": "^2.0.5",
"qs": "^6.9.4",
"semantic-release": "17.0.7",
"semantish-prerelease": "3.1.1",
"sharp": "0.23.1",
"source-map-support": "^0.5.19",
"sqlite3": "^4.2.0",
"supertest": "^4.0.2",
"tough-cookie": "^4.0.0",
"ts-jest": "^25.5.1",
"ts-loader": "^7.0.4",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-react": "^5.0.0",
"typescript": "^3.8.3",
"typescript-json-schema": "^0.42.0",
"wait-for-expect": "^3.0.2",
"with-server": "^1.1.0"
},
"jest": {
"preset": "ts-jest",
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
],
"globals": {
"ts-jest": {
"tsConfig": "<rootDir>/tsconfig.test.json"
}
},
"clearMocks": true,
"testMatch": [
"**/__tests__/**/*.test.ts",
"**/__tests__/**/*.test.tsx"
],
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/.cache/**",
"!**/coverage/**",
"!**/cypress/**",
"!**/dist/**",
"!**/lib/**",
"!**/node_modules/**",
"!**/demo/**"
],
"watchPathIgnorePatterns": [
"node_modules"
],
"moduleNameMapper": {
"\\.(css)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}