-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
129 lines (129 loc) · 3.45 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
{
"name": "tic-tac-toe-react",
"version": "2.0.0",
"description": "React intro tutorial (https://reactjs.org/tutorial/tutorial.html)",
"main": "index.js",
"homepage": "https://ldgit.github.io/react-tic-tac-toe/",
"scripts": {
"test": "jest --runTestsByPath",
"test:watch": "argus",
"coverage": "npm test -- --coverage",
"build": "webpack --mode=development",
"build:prod": "webpack --mode=production",
"start": "webpack serve --open --mode=development",
"prettier": "prettier \"{*.{js,jsx,css,json,md},{src,test}/**/*.{js,jsx,css,json,md}}\" --check",
"lint": "eslint --ext .jsx,.js ./",
"test:all": "npm run prettier && npm run lint && npm t",
"deploy": "npm run test:all && npm run build:prod && rm -rf docs/* && cp -R dist/. docs/"
},
"author": "Danko Lučić",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ldgit/react-tic-tac-toe.git"
},
"dependencies": {
"copy-text-to-clipboard": "^2.2.0",
"deep-freeze-2": "git://github.com/ldgit/deep-freeze-2.git",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"style-loader": "^2.0.0"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@babel/register": "^7.12.10",
"argus-test-runner": "^3.0.1",
"babel-loader": "^8.2.2",
"chai": "^4.2.0",
"clean-webpack-plugin": "^3.0.0",
"css-loader": "^5.0.1",
"dart-sass": "^1.25.0",
"deep-freeze": "git://github.com/ldgit/deep-freeze-2.git",
"deepcopy": "^2.1.0",
"eslint": "^7.18.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-chai-expect": "^2.2.0",
"eslint-plugin-chai-friendly": "^0.6.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^4.5.1",
"husky": "^4.3.8",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"sass": "^1.32.5",
"sass-loader": "^10.1.1",
"webpack": "^5.16.0",
"webpack-cli": "^4.4.0",
"webpack-dev-server": "^3.11.2"
},
"prettier": {
"arrowParens": "avoid",
"bracketSpacing": true,
"htmlWhitespaceSensitivity": "css",
"insertPragma": false,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"proseWrap": "preserve",
"quoteProps": "as-needed",
"requirePragma": false,
"semi": true,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": "*.test.js",
"options": {
"printWidth": 100
}
}
]
},
"browserslist": [
"> 0.5%",
"last 2 versions",
"Firefox ESR",
"not dead"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test:all"
}
},
"lint-staged": {
"*.{js,jsx,css,json,md}": [
"prettier --write",
"git add"
],
"*.{js,jsx}": [
"eslint --fix",
"git add"
]
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/test/bootstrap.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/coverage/",
"/test/",
"/dist/",
"/docs/"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}"
]
}
}