Skip to content

Commit a217cdb

Browse files
author
sparrowsl
committed
chore: for project to use PNPM package manager
1 parent af98df8 commit a217cdb

File tree

2 files changed

+116
-114
lines changed

2 files changed

+116
-114
lines changed

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
auto-install-peers=true
1+
auto-install-peers=true
2+
engine-strict=true

package.json

Lines changed: 114 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,115 +1,116 @@
11
{
2-
"name": "ecommerce-api",
3-
"version": "1.0.0",
4-
"description": "",
5-
"licenses": [
6-
{
7-
"type": "MIT",
8-
"url": "https://opensource.org/license/mit/"
9-
}
10-
],
11-
"contributors": [
12-
{
13-
"name": "Victor Eke",
14-
"url": "https://github.com/Evavic44"
15-
},
16-
{
17-
"name": "Franklin Ohaegbulam",
18-
"url": "https://github.com/frankiefab100"
19-
},
20-
{
21-
"name": "Benjamin Thorpe",
22-
"url": "https://github.com/sparrowsl"
23-
},
24-
{
25-
"name": "Williams Samuel",
26-
"url": "https://github.com/williamssam"
27-
},
28-
{
29-
"name": "Omololu Jumat",
30-
"url": "https://github.com/Jummate"
31-
},
32-
{
33-
"name": "Samson Okunola",
34-
"url": "https://github.com/pablo-clueless"
35-
}
36-
],
37-
"main": "index.js",
38-
"scripts": {
39-
"docs:dev": "vitepress dev docs",
40-
"docs:build": "vitepress build docs",
41-
"docs:serve": "vitepress serve docs",
42-
"lint": "eslint . --ext .ts,.tsx",
43-
"lint:fix": "eslint . --ext .ts,.tsx --fix",
44-
"pre-commit": "lint-staged",
45-
"test": "jest --coverage",
46-
"compile": "rimraf build && npx tsc",
47-
"predev": "npm run build",
48-
"dev": "concurrently \"npm run docs:build\" \"npx tsc --watch\" \"nodemon -q build/src/index.js\"",
49-
"build": "npm run docs:build && npm run compile",
50-
"start": "node build/src/index.js",
51-
"prepare": "husky install",
52-
"docs:preview": "vitepress preview docs"
53-
},
54-
"husky": {
55-
"hooks": {
56-
"pre-commit": "npm run lint:fix && npm run prettier:fix"
57-
}
58-
},
59-
"repository": {
60-
"type": "git",
61-
"url": "git+https://github.com/CommunityPro/ecommerce-api.git"
62-
},
63-
"keywords": [],
64-
"author": "",
65-
"license": "ISC",
66-
"bugs": {
67-
"url": "https://github.com/CommunityPro/ecommerce-api/issues"
68-
},
69-
"homepage": "https://github.com/CommunityPro/ecommerce-api#readme",
70-
"dependencies": {
71-
"bcrypt": "^5.1.1",
72-
"cloudinary": "^1.41.0",
73-
"cors": "^2.8.5",
74-
"dotenv": "^16.3.1",
75-
"eslint-plugin-react": "^7.33.2",
76-
"express": "^4.18.2",
77-
"jsonwebtoken": "^9.0.2",
78-
"mongoose": "^7.5.1",
79-
"multer": "^1.4.5-lts.1",
80-
"uuid": "^9.0.1",
81-
"validator": "^13.11.0"
82-
},
83-
"devDependencies": {
84-
"@types/bcrypt": "^5.0.1",
85-
"@types/cors": "^2.8.14",
86-
"@types/express": "^4.17.17",
87-
"@types/jest": "^29.5.5",
88-
"@types/jsonwebtoken": "^9.0.4",
89-
"@types/morgan": "^1.9.5",
90-
"@types/multer": "^1.4.9",
91-
"@types/node": "^20.6.1",
92-
"@types/supertest": "^2.0.12",
93-
"@types/uuid": "^9.0.6",
94-
"@types/validator": "^13.11.5",
95-
"@typescript-eslint/eslint-plugin": "^6.7.0",
96-
"@typescript-eslint/parser": "^6.7.0",
97-
"concurrently": "^8.2.1",
98-
"copyfiles": "^2.4.1",
99-
"eslint": "^8.49.0",
100-
"eslint-config-prettier": "^9.0.0",
101-
"eslint-plugin-prettier": "^5.0.0",
102-
"husky": "^8.0.0",
103-
"jest": "^29.7.0",
104-
"lint-staged": "^14.0.1",
105-
"morgan": "^1.10.0",
106-
"nodemon": "^3.0.1",
107-
"prettier": "^3.0.3",
108-
"rimraf": "^5.0.1",
109-
"ts-jest": "^29.1.1",
110-
"ts-node": "^10.9.1",
111-
"typescript": "^5.2.2",
112-
"vitepress": "1.0.0-rc.24",
113-
"vue": "^3.3.7"
114-
}
2+
"name": "ecommerce-api",
3+
"version": "1.0.0",
4+
"description": "",
5+
"licenses": [
6+
{
7+
"type": "MIT",
8+
"url": "https://opensource.org/license/mit/"
9+
}
10+
],
11+
"contributors": [
12+
{
13+
"name": "Victor Eke",
14+
"url": "https://github.com/Evavic44"
15+
},
16+
{
17+
"name": "Franklin Ohaegbulam",
18+
"url": "https://github.com/frankiefab100"
19+
},
20+
{
21+
"name": "Benjamin Thorpe",
22+
"url": "https://github.com/sparrowsl"
23+
},
24+
{
25+
"name": "Williams Samuel",
26+
"url": "https://github.com/williamssam"
27+
},
28+
{
29+
"name": "Omololu Jumat",
30+
"url": "https://github.com/Jummate"
31+
},
32+
{
33+
"name": "Samson Okunola",
34+
"url": "https://github.com/pablo-clueless"
35+
}
36+
],
37+
"main": "index.js",
38+
"scripts": {
39+
"docs:dev": "vitepress dev docs",
40+
"docs:build": "vitepress build docs",
41+
"docs:serve": "vitepress serve docs",
42+
"lint": "eslint . --ext .ts,.tsx",
43+
"lint:fix": "eslint . --ext .ts,.tsx --fix",
44+
"pre-commit": "lint-staged",
45+
"test": "jest --coverage",
46+
"compile": "rimraf build && npx tsc",
47+
"predev": "npm run build",
48+
"dev": "concurrently \"npm run docs:build\" \"npx tsc --watch\" \"nodemon -q build/src/index.js\"",
49+
"build": "npm run docs:build && npm run compile",
50+
"start": "node build/src/index.js",
51+
"prepare": "husky install",
52+
"docs:preview": "vitepress preview docs",
53+
"preinstall": "npx only-allow pnpm --yes"
54+
},
55+
"husky": {
56+
"hooks": {
57+
"pre-commit": "npm run lint:fix && npm run prettier:fix"
58+
}
59+
},
60+
"repository": {
61+
"type": "git",
62+
"url": "git+https://github.com/CommunityPro/ecommerce-api.git"
63+
},
64+
"keywords": [],
65+
"author": "",
66+
"license": "ISC",
67+
"bugs": {
68+
"url": "https://github.com/CommunityPro/ecommerce-api/issues"
69+
},
70+
"homepage": "https://github.com/CommunityPro/ecommerce-api#readme",
71+
"dependencies": {
72+
"bcrypt": "^5.1.1",
73+
"cloudinary": "^1.41.0",
74+
"cors": "^2.8.5",
75+
"dotenv": "^16.3.1",
76+
"eslint-plugin-react": "^7.33.2",
77+
"express": "^4.18.2",
78+
"jsonwebtoken": "^9.0.2",
79+
"mongoose": "^7.5.1",
80+
"multer": "^1.4.5-lts.1",
81+
"uuid": "^9.0.1",
82+
"validator": "^13.11.0"
83+
},
84+
"devDependencies": {
85+
"@types/bcrypt": "^5.0.1",
86+
"@types/cors": "^2.8.14",
87+
"@types/express": "^4.17.17",
88+
"@types/jest": "^29.5.5",
89+
"@types/jsonwebtoken": "^9.0.4",
90+
"@types/morgan": "^1.9.5",
91+
"@types/multer": "^1.4.9",
92+
"@types/node": "^20.6.1",
93+
"@types/supertest": "^2.0.12",
94+
"@types/uuid": "^9.0.6",
95+
"@types/validator": "^13.11.5",
96+
"@typescript-eslint/eslint-plugin": "^6.7.0",
97+
"@typescript-eslint/parser": "^6.7.0",
98+
"concurrently": "^8.2.1",
99+
"copyfiles": "^2.4.1",
100+
"eslint": "^8.49.0",
101+
"eslint-config-prettier": "^9.0.0",
102+
"eslint-plugin-prettier": "^5.0.0",
103+
"husky": "^8.0.0",
104+
"jest": "^29.7.0",
105+
"lint-staged": "^14.0.1",
106+
"morgan": "^1.10.0",
107+
"nodemon": "^3.0.1",
108+
"prettier": "^3.0.3",
109+
"rimraf": "^5.0.1",
110+
"ts-jest": "^29.1.1",
111+
"ts-node": "^10.9.1",
112+
"typescript": "^5.2.2",
113+
"vitepress": "1.0.0-rc.24",
114+
"vue": "^3.3.7"
115+
}
115116
}

0 commit comments

Comments
 (0)