-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
86 lines (86 loc) · 2.64 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
{
"name": "mycrossword",
"version": "1.4.0",
"description": "React crossword component",
"keywords": [
"react",
"crossword",
"crosswords"
],
"author": "Tom Blackwell",
"license": "MIT",
"repository": "github:t-blackwell/mycrossword",
"private": false,
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/esm/index.d.ts",
"files": [
"dist"
],
"dependencies": {
"@reduxjs/toolkit": "^1.6.2",
"classnames": "^2.3.1",
"react-redux": "^7.2.6",
"sanitize-html": "^2.5.3"
},
"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.1",
"@testing-library/user-event": "^13.5.0",
"@trivago/prettier-plugin-sort-imports": "^3.1.1",
"@types/jest": "^27.0.2",
"@types/node": "^16.11.7",
"@types/react": "^17.0.35",
"@types/react-dom": "^17.0.11",
"@types/react-redux": "^7.1.20",
"@types/sanitize-html": "^2.5.0",
"@typescript-eslint/eslint-plugin": "^5.5.0",
"@typescript-eslint/parser": "^5.5.0",
"autoprefixer": "^10.4.0",
"concurrently": "^6.4.0",
"css-loader": "^6.5.1",
"eslint": "^8.3.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react-hooks": "^4.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.3.1",
"postcss": "^8.4.5",
"postcss-cli": "^9.1.0",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass": "^1.43.4",
"sass-loader": "^12.3.0",
"style-loader": "^3.3.1",
"ts-jest": "^27.0.7",
"typescript": "^4.4.4"
},
"scripts": {
"build:autoprefix": "postcss dist/index.css -u autoprefixer -r -m",
"build:js": "yarn build:esm && yarn build:cjs",
"build:css": "sass --load-path src/ src/index.scss dist/index.css",
"build": "rm -rf dist/* && yarn run build:js && yarn run build:css && yarn build:autoprefix",
"build:watch": "concurrently \"tsc -p tsconfig.build.json --watch\" \"yarn run build:css --watch\"",
"build:esm": "tsc -p tsconfig.build.json",
"build:cjs": "tsc -p tsconfig.build.json --module commonjs --outDir dist/cjs",
"format": "prettier -w src",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx .",
"lint:fix": "yarn lint --fix",
"test": "jest --config jest.config.js"
},
"browserslist": [
">0.01%",
"not ie 11",
"not dead",
"not op_mini all"
]
}