forked from aeksco/react-typescript-web-extension-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
98 lines (98 loc) · 3.16 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
{
"name": "react-typescript-chrome-extension-starter",
"version": "2.0.0",
"description": "Web Extension starter kit built with React, TypeScript, Tailwind CSS, EsLint, Prettier ",
"main": "index.js",
"scripts": {
"build": "tsc -p tsconfig.prod.json && vite build",
"dev": "vite",
"test": "jest",
"lint:fix": "eslint ./src --ext .jsx,.js,.ts,.tsx --quiet --fix --ignore-path ./.gitignore",
"prettify": "prettier --loglevel warn --write \"./**/*.{js,jsx,ts,tsx,css,json}\" ",
"lint": "yarn prettify && yarn lint:fix ",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"repository": {
"type": "git",
"url": "git+https://github.com/DesignString/react-typescript-web-extension-starter.git"
},
"keywords": [
"react",
"typescript",
"chrome",
"extension",
"boilerplate"
],
"author": "Design String",
"license": "MIT",
"bugs": {
"url": "https://github.com/DesignString/react-typescript-web-extension-starter/issues"
},
"homepage": "https://github.com/DesignString/react-typescript-web-extension-starter#readme",
"devDependencies": {
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-interactions": "^6.5.9",
"@storybook/addon-links": "^6.5.9",
"@storybook/builder-vite": "^0.1.38",
"@storybook/react": "^6.5.9",
"@storybook/testing-library": "^0.0.13",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^12.1.2",
"@types/chrome": "^0.0.124",
"@types/jest": "^26.0.14",
"@types/node": "^14.11.8",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-test-renderer": "^18.0.0",
"@types/webextension-polyfill": "^0.9.0",
"@typescript-eslint/eslint-plugin": "^5.10.2",
"@typescript-eslint/parser": "^5.10.2",
"@vitejs/plugin-react": "^1.3.0",
"autoprefixer": "^10.4.1",
"eslint": "^7.11.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-storybook": "^0.5.13",
"jest": "^26.5.3",
"jest-css-modules": "^2.1.0",
"prettier": "^2.5.1",
"react-test-renderer": "^18.0.0",
"tailwindcss": "^3.0.8",
"ts-jest": "^26.4.1",
"typescript": "^4.6.3",
"unplugin-auto-import": "^0.9.2",
"vite": "^2.9.9",
"vite-plugin-chrome-extension": "^0.0.7",
"webextension-polyfill": "^0.9.0"
},
"dependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0"
},
"jest": {
"clearMocks": true,
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.json"
}
},
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|less|scss|sass)$": "identity-obj-proxy"
},
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testEnvironment": "jsdom"
}
}