-
-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.91 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.91 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
{
"name": "@strapi-plugin-rest-cache/monorepo",
"private": true,
"version": "1.0.0",
"type": "module",
"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",
"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",
"console:memory": "yarn workspace @strapi-plugin-rest-cache/playground-memory strapi console",
"console:redis": "yarn workspace @strapi-plugin-rest-cache/playground-redis strapi console",
"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",
"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",
"build": "yarn build:plugin:rest-cache",
"build:plugin:rest-cache": "yarn workspace @strapi-community/plugin-rest-cache pack-up build",
"verify:plugin:rest-cache": "yarn workspace @strapi-community/plugin-rest-cache strapi-plugin verify",
"watch:plugin:rest-cache": "yarn workspace @strapi-community/plugin-rest-cache pack-up watch",
"watch:link:plugin:rest-cache": "yarn workspace @strapi-community/plugin-rest-cache strapi-plugin watch:link"
},
"license": "MIT",
"resolutions": {
"**/colors": "1.4.0",
"semver": "7.5.4",
"vuepress-vite": "2.0.0-beta.66",
"d3-color": "3.1.0",
"keyv": "^5.5.0"
},
"devDependencies": {
"0x": "^5.5.0",
"@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",
"lerna": "^8.2.3",
"lint-staged": "^12.3.7",
"mime-types": "^2.1.35",
"npm-run-all": "^4.1.5",
"vitepress": "^1.0.0-alpha.33",
"vitepress-versioning-plugin-patched": "1.3.1",
"vue": "^3.2.45",
"vuepress": "^2.0.0-beta.36"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"lint-staged": {
"{packages,playgrounds}/**/*.{ts,js}": [
"prettier --write"
],
"docs/**/*.md": [
"prettier --write"
]
}
}