-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2.37 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
{
"name": "@sureshraj/dom_tree",
"version": "0.0.2",
"description": "Convert JavaScript Object, Array, and JSON into interactive HTML tree view",
"main": "dist/js/dom_tree.min.js",
"style": "dist/css/dom_tree.min.css",
"files": [
"dist"
],
"scripts": {
"-------------- MAIN --------------": "",
"start": "webpack-dev-server --config ./webpack/webpack.dev.js --script=start",
"build-dev": "webpack --config ./webpack/webpack.dev.js",
"build-prod": "webpack --config ./webpack/webpack.prod.js",
"-------------- LINT --------------": "",
"lint": "run-p lint-js lint-style",
"lint-js": "eslint '**/*.js'",
"lint-js-fix": "eslint --fix",
"lint-style": "stylelint './src/**/*.scss'",
"lint-style-fix": "stylelint --fix",
"-------------- TEST --------------": "",
"test": "jest --watch",
"test-ci": "jest --ci",
"test-coverage": "jest --collectCoverage",
"report-coverage": "codecov"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "run-s lint test-ci"
}
},
"lint-staged": {
"*.js": [
"npm run lint-js-fix"
],
"src/**/*.scss": [
"npm run lint-style-fix"
]
},
"author": "M.Sureshraj <m.s.suresh100@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/m-sureshraj/dom-tree.git"
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@testing-library/dom": "^7.5.7",
"@testing-library/jest-dom": "^5.8.0",
"autoprefixer": "^7.2.6",
"babel-loader": "^8.1.0",
"clean-webpack-plugin": "^3.0.0",
"codecov": "^3.1.0",
"css-loader": "^0.28.11",
"eslint": "^6.8.0",
"eslint-plugin-jest": "^23.9.0",
"eslint-plugin-prettier": "^3.1.3",
"html-webpack-harddisk-plugin": "^1.0.1",
"html-webpack-plugin": "^4.3.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"lint-staged": "^10.2.2",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^2.1.6",
"prettier": "^1.15.3",
"sass-loader": "^8.0.2",
"stylelint": "^13.5.0",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.17.2",
"terser-webpack-plugin": "^3.0.1",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.11.0"
}
}