11{
22 "name" : " reactmap" ,
3- "version" : " 1.27.2 " ,
3+ "version" : " 1.28.0-develop.4 " ,
44 "private" : true ,
55 "description" : " React based frontend map." ,
66 "license" : " MIT" ,
1414 "config:check" : " yarn workspace @rm/config run check" ,
1515 "config:env" : " yarn workspace @rm/config run generate" ,
1616 "dev" : " NODE_ENV=development nodemon server/src/index.js" ,
17- "eslint:check " : " eslint \" **/*.{js,jsx}\" " ,
18- "eslint :fix" : " eslint \" **/*.{js,jsx}\" --fix" ,
17+ "lint " : " eslint \" **/*.{js,jsx}\" " ,
18+ "lint :fix" : " eslint \" **/*.{js,jsx}\" --fix" ,
1919 "locales:create" : " yarn workspace @rm/locales run create" ,
2020 "locales:generate" : " yarn workspace @rm/locales run generate" ,
2121 "locales:missing" : " yarn workspace @rm/locales run missing" ,
2222 "masterfile" : " yarn workspace @rm/masterfile run generate" ,
2323 "migrate:latest" : " knex --knexfile server/src/db/knexfile.cjs migrate:latest" ,
2424 "migrate:make" : " knex --knexfile server/src/db/knexfile.cjs migrate:make" ,
2525 "migrate:rollback" : " knex --knexfile server/src/db/knexfile.cjs migrate:rollback" ,
26- "prettier:check " : " prettier --check \" **/*.{css,html,js,jsx,yml}\" " ,
26+ "prettier" : " prettier --check \" **/*.{css,html,js,jsx,yml}\" " ,
2727 "prettier:fix" : " prettier --write \" **/*.{css,html,js,jsx,yml}\" " ,
2828 "release" : " vite build -- -r" ,
2929 "server" : " node server/src/index.js" ,
3030 "start" : " node ." ,
31+ "prepare" : " husky install" ,
3132 "watch" : " vite"
3233 },
3334 "nodemonConfig" : {
4243 " logs"
4344 ]
4445 },
46+ "lint-staged" : {
47+ "*.{js,jsx,ts,tsx}" : [
48+ " eslint --fix"
49+ ],
50+ "**/*" : [
51+ " prettier --write --ignore-unknown"
52+ ]
53+ },
54+ "config" : {
55+ "commitizen" : {
56+ "path" : " cz-conventional-changelog"
57+ }
58+ },
59+ "commitlint" : {
60+ "extends" : [
61+ " @commitlint/config-conventional"
62+ ]
63+ },
64+ "release" : {
65+ "branches" : [
66+ " +([0-9])?(.{+([0-9]),x}).x" ,
67+ " main" ,
68+ {
69+ "name" : " develop" ,
70+ "prerelease" : true
71+ }
72+ ],
73+ "plugins" : [
74+ " @semantic-release/commit-analyzer" ,
75+ " @semantic-release/release-notes-generator" ,
76+ " @semantic-release/changelog" ,
77+ [
78+ " @semantic-release/npm" ,
79+ {
80+ "npmPublish" : false
81+ }
82+ ],
83+ " @semantic-release/github" ,
84+ [
85+ " @semantic-release/git" ,
86+ {
87+ "assets" : [
88+ " CHANGELOG.md" ,
89+ " package.json" ,
90+ " yarn.lock"
91+ ],
92+ "message" : " chore(release): ${nextRelease.gitTag} [skip ci]\n\n ${nextRelease.notes}"
93+ }
94+ ]
95+ ],
96+ "preset" : " angular"
97+ },
98+ "volta" : {
99+ "node" : " 18.18.2" ,
100+ "yarn" : " 1.22.19"
101+ },
45102 "dependencies" : {
46103 "@apollo/client" : " ^3.8.7" ,
47104 "@apollo/server" : " ^4.9.5" ,
68125 "@turf/helpers" : " ^6.5.0" ,
69126 "bcrypt" : " ^5.0.1" ,
70127 "body-parser" : " ^1.20.2" ,
71- "chalkercli" : " ^1.6.4 " ,
128+ "chalkercli" : " https://github.com/TurtIeSocks/chalkercli.git " ,
72129 "chokidar" : " ^3.5.3" ,
73130 "compression" : " ^1.7.4" ,
74131 "cors" : " ^2.8.5" ,
121178 "zustand" : " 4.4.6"
122179 },
123180 "devDependencies" : {
181+ "@commitlint/cli" : " ^17.2.0" ,
182+ "@commitlint/config-conventional" : " ^17.2.0" ,
124183 "@rm/types" : " *" ,
184+ "@semantic-release/changelog" : " ^6.0.1" ,
185+ "@semantic-release/git" : " ^10.0.1" ,
125186 "@sentry/vite-plugin" : " 2.2.1" ,
126187 "@types/dlv" : " ^1.1.2" ,
127188 "@types/node" : " ^18" ,
128189 "@types/react" : " ^18.2.20" ,
129190 "@types/react-dom" : " ^18.0.9" ,
130191 "@vitejs/plugin-react" : " 4.0.0" ,
192+ "commitizen" : " ^4.2.5" ,
193+ "cz-conventional-commit" : " ^1.0.6" ,
131194 "eslint" : " ^8.44.0" ,
132195 "eslint-config-airbnb" : " ^19.0.4" ,
133196 "eslint-config-prettier" : " ^8.8.0" ,
136199 "eslint-plugin-jsx-a11y" : " ^6.7.1" ,
137200 "eslint-plugin-react" : " ^7.32.2" ,
138201 "eslint-plugin-react-hooks" : " ^4.6.0" ,
202+ "husky" : " ^8.0.1" ,
203+ "lint-staged" : " ^13.0.3" ,
139204 "monaco-editor" : " ^0.41.0" ,
140- "nodemon" : " ^2 .0.22 " ,
205+ "nodemon" : " ^3 .0.2 " ,
141206 "prettier" : " ^2.8.8" ,
142207 "rollup-plugin-delete" : " ^2.0.0" ,
208+ "semantic-release" : " ^19.0.5" ,
143209 "vite" : " 4.3.9" ,
144210 "vite-plugin-checker" : " 0.6.0" ,
145211 "vite-plugin-static-copy" : " 0.16.0"
148214 "node" : " >=18" ,
149215 "yarn" : " ^1.22.x"
150216 }
151- }
217+ }
0 commit comments