-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 6.52 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "my-ideal-map-app",
"version": "0.0.0-development",
"description": "Source code for My Ideal Map App, a progressive web app that allows you to customize Google Maps with placemarks of your own interest that can be linked to web pages of your choice",
"main": "pages/index.js",
"scripts": {
"build": "is-ci-cli \"build:ci\" \"build:local\"",
"build:ci": "prisma generate && prisma migrate deploy && next build",
"build:local": "next build && open http://localhost:3000 && next start",
"ci": "start-server-and-test start http://localhost:3000 ci:tests",
"ci:tests": "npm-run-all --parallel lint test:ci cy:run",
"commit": "git-cz",
"cy:open": "cypress open --env coverage=false",
"cy:run": "cypress run --env coverage=false",
"precy:run": "npm run remove:report",
"dev": "open -a \"Google Chrome\" http://localhost:3000 && next dev",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|json)\"",
"lint": "eslint --ignore-path .gitignore .",
"snapshot": "percy exec -- cypress run --spec \"cypress/e2e/snapshot*.js\"",
"presnapshot": "npm run remove:report",
"start": "next start",
"subset": "start-server-and-test start http://localhost:3000 subset:all",
"presubset": "npm run build",
"subset:all": "npm-run-all subset:reforma1918:*",
"subset:reforma1918:blanca": "npx glyphhanger http://localhost:3000 --spider --subset=public/fonts/Reforma1918-Blanca.ttf --family='Reforma 1918 Blanca'",
"subset:reforma1918:gris": "npx glyphhanger http://localhost:3000 --spider --subset=public/fonts/Reforma1918-Gris.ttf --family='Reforma 1918 Gris'",
"subset:reforma1918:grisItalica": "npx glyphhanger http://localhost:3000 --spider --subset=public/fonts/Reforma1918-GrisItalica.ttf --family='Reforma 1918 Gris Italica'",
"test": "jest --watch",
"test:ci": "jest",
"test:coverage": "npm-run-all --parallel test:coverage:unit test:coverage:e2e",
"posttest:coverage": "npm run report:combined",
"test:coverage:unit": "jest --coverage",
"test:coverage:e2e": "is-ci-cli \"cy:run\" \"test:coverage:e2e:local\"",
"test:coverage:e2e:local": "start-server-and-test dev http://localhost:3000 cy:run",
"test:e2e": "start-server-and-test dev http://localhost:3000 cy:open",
"pretest:e2e:run": "npm run build",
"test:e2e:run": "start-server-and-test start http://localhost:3000 cy:run",
"mkdir:reports": "mkdir .nyc_tempdir || true",
"precopy:reports": "npm run mkdir:reports",
"copy:reports": "cp coverage-cypress/coverage-final.json .nyc_tempdir/from-cypress.json && cp coverage-jest/coverage-final.json .nyc_tempdir/from-jest.json",
"precombine:reports": "npm run copy:reports && mkdir .nyc_output || true",
"combine:reports": "npx nyc merge .nyc_tempdir && mv coverage.json .nyc_output/out.json",
"prereport:combined": "npm run combine:reports",
"report:combined": "is-ci-cli \"report:combined:ci\" \"report:combined:local\"",
"report:combined:ci": "npx nyc report --reporter lcov --reporter text --report-dir coverage --check-coverage",
"report:combined:local": "npm run report:combined:ci && open coverage/lcov-report/index.html",
"remove:report": "rm -r .nyc_output || true",
"prepare": "husky install",
"semantic-release": "semantic-release --branches main",
"analyze": "ANALYZE=true next build",
"hygen-component": "npx hygen component new",
"hygen-element": "npx hygen element new"
},
"repository": {
"type": "git",
"url": "https://github.com/masakudamatsu/mima.git"
},
"keywords": [
"Google Maps"
],
"author": "Masa Kudamatsu <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/masakudamatsu/mima/issues"
},
"homepage": "https://mima.pages.dev",
"dependencies": {
"@auth0/nextjs-auth0": "1.9.2",
"@googlemaps/js-api-loader": "1.12.1",
"@googlemaps/react-wrapper": "1.1.15",
"@prisma/client": "4.3.1",
"@tiptap/core": "2.0.3",
"@tiptap/extension-document": "2.0.3",
"@tiptap/extension-heading": "2.0.3",
"@tiptap/extension-history": "2.0.3",
"@tiptap/extension-link": "2.0.3",
"@tiptap/extension-paragraph": "2.0.3",
"@tiptap/extension-placeholder": "2.0.3",
"@tiptap/extension-text": "2.0.3",
"@tiptap/pm": "2.0.3",
"@tiptap/react": "2.0.3",
"autolinker": "3.14.3",
"dompurify": "2.3.3",
"downshift": "7.2.0",
"micro": "9.4.1",
"next": "12.2.5",
"prisma": "4.3.1",
"prop-types": "^15.7.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-focus-lock": "2.5.2",
"stripe": "10.15.0",
"styled-components": "^5.2.1"
},
"devDependencies": {
"@babel/core": "7.15.0",
"@faker-js/faker": "7.5.0",
"@next/bundle-analyzer": "11.1.2",
"@percy/cli": "1.0.0-beta.57",
"@percy/cypress": "^3.1.2",
"@testing-library/cypress": "^8.0.3",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^11.2.2",
"@testing-library/react-hooks": "8.0.1",
"@testing-library/user-event": "^12.2.2",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.6.3",
"babel-loader": "8.3.0",
"babel-plugin-istanbul": "6.0.0",
"babel-plugin-styled-components": "^1.12.0",
"commitizen": "4.2.5",
"cypress": "10.11.0",
"cypress-nextjs-auth0": "2.1.0",
"cypress-real-events": "^1.7.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.15.0",
"eslint-config-react-app": "^6.0.0",
"eslint-plugin-cypress": "^2.11.2",
"eslint-plugin-flowtype": "^5.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.21.5",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^3.10.1",
"husky": "^7.0.0",
"hygen": "6.1.0",
"is-ci-cli": "2.2.0",
"jest": "27.0.6",
"jest-axe": "^4.1.0",
"jest-in-case": "^1.0.2",
"jest-mock-extended": "3.0.1",
"jest-styled-components": "^7.0.3",
"lint-staged": "10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.0",
"semantic-release": "19.0.5",
"start-server-and-test": "1.12.0"
},
"lint-staged": {
"*.+(js|ts|tsx)": [
"eslint"
],
"*.+(js|json|css|html|md)": [
"prettier --list-different",
"jest --findRelatedTests"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"prisma": {
"seed": "node prisma/seed.js"
}
}