-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
102 lines (102 loc) · 2.93 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
{
"name": "react-lorem-ipsum",
"version": "1.4.10",
"description": "React Component and Function for Creating Lorem Ipsum Text as Placeholder",
"repository": {
"type": "git",
"url": "git+https://github.com/fatihtelis/react-lorem-ipsum.git"
},
"homepage": "https://github.com/fatihtelis/react-lorem-ipsum#readme",
"bugs": {
"url": "https://github.com/fatihtelis/react-lorem-ipsum/issues"
},
"keywords": [
"react",
"reactjs",
"typescript",
"component",
"lorem",
"ipsum",
"lorem ipsum",
"lipsum",
"placeholder",
"gibberish",
"text",
"random",
"name",
"surname",
"full name",
"username"
],
"author": "Fatih Telis <[email protected]>",
"license": "MIT",
"main": "dist/index.js",
"scripts": {
"test": "jest --verbose",
"start": "webpack-dev-server --mode development",
"transpileJS": "babel src -d dist --no-comments --copy-files",
"transpileSASS": "node-sass --output-style compressed src/style.scss > dist/style.css",
"transpile": "npm run transpileJS && npm run transpileSASS",
"format:check": "prettier --check .",
"format:fix": "prettier --write .",
"lint:check": "eslint .",
"lint:fix": "eslint . --fix",
"pre-push": "npm run format:check && npm run lint:check",
"prepublishOnly": "npm run transpileJS",
"build": "webpack --mode production",
"deploy": "gh-pages -d examples/dist",
"publish:gh-pages": "npm run build && npm run deploy",
"publish:travis": "npm run build"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run pre-push"
}
},
"lint-staged": {
"**/*.js?(x)": "eslint --fix",
"**/*": [
"prettier --write"
]
},
"devDependencies": {
"@babel/cli": "^7.17.0",
"@babel/core": "^7.17.2",
"@babel/preset-env": "^7.16.11",
"@babel/preset-react": "^7.16.7",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.6.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^8.8.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"gh-pages": "^3.2.3",
"html-webpack-plugin": "^5.5.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.3",
"node-sass": "^7.0.1",
"prettier": "^2.5.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"sass-loader": "^12.4.0",
"style-loader": "^3.3.1",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.7.4"
},
"jest": {
"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)$": "<rootDir>/__mocks__/styleMock.js"
}
}
}