-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 3.07 KB
/
package.json
File metadata and controls
89 lines (89 loc) · 3.07 KB
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
{
"name": "react-wordpress-theme",
"version": "1.0.0",
"description": ":fire: Front React end application",
"main": "index.js",
"scripts": {
"dev": "webpack-dev-server --mode=development",
"prod": "webpack --mode=production",
"eslint": "eslint ./src/*.js ./src/**/**/**/*.js ./src/**/**/**/**/*.js",
"eslint:fix": "eslint --fix ./src/*.js ./src/**/**/**/*.js ./src/**/**/**/**/*.js",
"stylelint": "stylelint ./src/*.scss ./src/**/*.scss ./src/**/**/*.scss",
"stylelint:fix": "stylelint ./src/*.scss ./src/**/*.scss ./src/**/**/*.scss --fix",
"format-js": "prettier .prettierrc.js --write ./src/*.js ./src/**/**/**/*.js ./src/**/**/**/**/*.js",
"precommit": "npm run format-js && npm run eslint:fix && npm run stylelint:fix && npm run test",
"test": "jest --verbose",
"test:debug": "jest --runInBand",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage=true",
"test:update": "jest --verbose --updateSnapshot"
},
"repository": {
"type": "git",
"url": "git+https://github.com/imranhsayed/react-wordpress-theme.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/imranhsayed/react-wordpress-theme/issues"
},
"homepage": "https://github.com/imranhsayed/react-wordpress-theme#readme",
"dependencies": {
"@reach/router": "^1.3.3",
"@wordpress/block-library": "^2.16.1",
"axios": "^0.19.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^6.0.0",
"shebang-loader": "0.0.1"
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-transform-modules-commonjs": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@wordpress/eslint-plugin": "^4.1.0",
"@wordpress/prettier-config": "^0.1.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.3.0",
"babel-loader": "^8.0.5",
"babel-plugin-react-require": "^3.1.3",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.5.0",
"eslint": "^6.8.0",
"eslint-loader": "^4.0.0",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-jsdoc": "^22.1.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^25.3.0",
"node-sass": "^4.13.1",
"path": "^0.12.7",
"prettier": "npm:wp-prettier@^1.19.1",
"react-test-renderer": "^16.13.1",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3",
"stylelint": "^13.3.0",
"stylelint-config-wordpress": "^16.0.0",
"stylelint-webpack-plugin": "^1.2.3",
"url-loader": "^4.1.0",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.2.1"
},
"jest": {
"testMatch": [
"**/test/**/*.[jt]s?(x)",
"**/**/test/**/*.[jt]s?(x)"
],
"testPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/__mocks__/fileMock.js",
"\\.(css|scss)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}