-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
package.json
74 lines (74 loc) · 2.88 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
{
"name": "@strapi-plugin-rest-cache/monorepo",
"private": true,
"version": "1.0.0",
"description": "Speed-up HTTP requests with LRU cache",
"workspaces": [
"./packages/*",
"./playgrounds/*"
],
"scripts": {
"postinstall": "run-s postinstall:*",
"postinstall:memory": "cpy . ../playgrounds/memory/ --cwd=shared",
"postinstall:redis": "cpy . ../playgrounds/redis/ --cwd=shared",
"postinstall:couchbase": "cpy . ../playgrounds/couchbase/ --cwd=shared",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:serve": "vitepress serve docs",
"dev:memory": "yarn workspace @strapi-plugin-rest-cache/playground-memory develop",
"dev:redis": "yarn workspace @strapi-plugin-rest-cache/playground-redis develop",
"dev:couchbase": "yarn workspace @strapi-plugin-rest-cache/playground-couchbase develop",
"profile:memory": "cd ./playgrounds/memory && 0x -o -D .profile -P 'autocannon --warmup [ -c 1 -d 3 ] -c 100 -p 10 -d 120 http://localhost:1337/api/homepage?populate=*' start-profiler.js",
"profile:redis": "cd ./playgrounds/redis && 0x -o -D .profile -P 'autocannon --warmup [ -c 1 -d 3 ] -c 100 -p 10 -d 120 http://localhost:1337/api/homepage?populate=*' start-profiler.js",
"profile:couchbase": "cd ./playgrounds/couchbase && 0x -o -D .profile -P 'autocannon --warmup [ -c 1 -d 3 ] -c 100 -p 10 -d 120 http://localhost:1337/api/homepage?populate=*' start-profiler.js",
"lint": "lerna run lint --stream",
"test:lint": "lerna run test:lint --stream",
"test:e2e": "run-s test:e2e:*",
"test:e2e:memory": "yarn workspace @strapi-plugin-rest-cache/playground-memory test:e2e",
"test:e2e:redis": "yarn workspace @strapi-plugin-rest-cache/playground-redis test:e2e",
"test:e2e:couchbase": "yarn workspace @strapi-plugin-rest-cache/playground-couchbase test:e2e"
},
"license": "MIT",
"resolutions": {
"**/colors": "1.4.0",
"semver": "7.5.4",
"vuepress-vite": "2.0.0-beta.66",
"d3-color": "3.1.0"
},
"devDependencies": {
"0x": "^5.5.0",
"@giscus/vue": "^2.2.6",
"@vuepress/plugin-register-components": "^2.0.0-beta.36",
"@vuepress/plugin-search": "^2.0.0-beta.36",
"autocannon": "^7.7.1",
"copyfiles": "^2.4.1",
"cpy-cli": "^4.1.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"jest": "^29.6.1",
"lerna": "^5.0.0",
"lint-staged": "^12.3.7",
"mermaid": "^9.4.0",
"mime-types": "^2.1.35",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.0",
"supertest": "^6.3.3",
"vitepress": "^1.0.0-alpha.33",
"vue": "^3.2.45",
"vuepress": "^2.0.0-beta.36",
"yorkie": "^2.0.0"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"lint-staged": {
"{packages,playgrounds}/**/*.{ts,js}": [
"prettier --write"
],
"docs/**/*.md": [
"prettier --write"
]
}
}