forked from strapi-community/plugin-rest-cache
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 2.86 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": "vuepress dev docs",
"docs:build": "vuepress build docs",
"docs:serve": "vuepress 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": "0x -o -D .profile -P 'autocannon --warmup [ -c 1 -d 3 ] -c 100 -p 10 -d 120 http://localhost:1337/api/homepage?populate=*' ./playgrounds/memory/start-profiler.js",
"profile:redis": "0x -o -D .profile -P 'autocannon --warmup [ -c 1 -d 3 ] -c 100 -p 10 -d 120 http://localhost:1337/api/homepage?populate=*' ./playgrounds/redis/start-profiler.js",
"profile:couchbase": "0x -o -D .profile -P 'autocannon --warmup [ -c 1 -d 3 ] -c 100 -p 10 -d 120 http://localhost:1337/api/homepage?populate=*' ./playgrounds/couchbase/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",
"dependencies": {},
"resolutions": {
"**/colors": "1.4.0"
},
"devDependencies": {
"0x": "^5.2.1",
"@strapi-community/eslint-config": "^0.2.0",
"@strapi-community/eslint-config-admin": "^0.2.0",
"@strapi-community/eslint-config-tests": "^0.2.0",
"@vuepress/plugin-register-components": "^2.0.0-beta.36",
"@vuepress/plugin-search": "^2.0.0-beta.36",
"mime-types": "^2.1.35",
"autocannon": "^7.7.1",
"copyfiles": "^2.4.1",
"cpy-cli": "^4.1.0",
"eslint": "^8.11.0",
"jest": "^27.5.1",
"lerna": "^4.0.0",
"lint-staged": "^12.3.7",
"mermaid": "^8.14.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.0",
"supertest": "^6.2.2",
"vuepress": "^2.0.0-beta.36",
"yorkie": "^2.0.0"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"lint-staged": {
"{packages,playgrounds}/**/*.{ts,js}": [
"eslint --fix",
"prettier --write"
],
"docs/**/*.md": [
"prettier --write"
]
}
}