forked from forem/forem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 2.94 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
{
"name": "Dev.to",
"version": "1.0.0",
"description": "Where programmers share ideas and help each other grow",
"main": "index.js",
"directories": {
"doc": "docs",
"lib": "lib",
"test": "test"
},
"scripts": {
"test": "jest app/javascript/ --coverage",
"test:watch": "jest app/javascript/ --watch",
"storybook": "start-storybook -p 6006 -c app/javascript/.storybook -s app/javascript/.storybook/assets",
"build-storybook": "build-storybook -c app/javascript/.storybook -s app/javascript/.storybook/assets"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx}": [
"eslint --fix",
"prettier --write",
"git add"
],
"{app,spec}/**/*.rb": [
"bundle exec rubocop --require rubocop-rspec --safe-auto-correct",
"git add"
],
"app/**/*.html.erb": [
"bin/bundle exec erblint",
"git add"
],
"*.json": [
"prettier --write",
"git add"
],
"*.md": [
"prettier --write",
"git add"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 80
},
"repository": {
"type": "git",
"url": "git+https://github.com/thepracticaldev/dev.to.git"
},
"author": "",
"license": "AGPL-3.0-or-later",
"bugs": {
"url": "https://github.com/thepracticaldev/dev.to/issues"
},
"homepage": "https://github.com/thepracticaldev/dev.to#readme",
"devDependencies": {
"@storybook/addon-actions": "^5.0.11",
"@storybook/addon-links": "^5.0.11",
"@storybook/addons": "^5.0.11",
"@storybook/react": "^3.4.11",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.4.2",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-ignore-erb": "^0.1.1",
"eslint-plugin-import": "^2.17.3",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-react": "^7.13.0",
"faker": "^4.1.0",
"husky": "^2.3.0",
"jest": "^23.5.0",
"jest-fetch-mock": "^2.1.2",
"jsdom": "^15.1.0",
"lint-staged": "^8.1.7",
"preact-render-spy": "^1.3.0",
"preact-render-to-json": "^3.6.6",
"prettier": "^1.17.1",
"webpack-dev-server": "^2.11.3"
},
"dependencies": {
"@rails/webpacker": "^3.5.5",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-preact": "^1.1.0",
"chart.js": "^2.8.0",
"codemirror": "^5.47.0",
"focus-visible": "^4.1.5",
"clipboard-copy-element": "^1.0.0",
"intersection-observer": "^0.7.0",
"linkstate": "^1.1.1",
"marked": "^0.6.2",
"preact": "^8.4.2",
"preact-compat": "^3.18.5",
"preact-textarea-autosize": "^4.0.7",
"prop-types": "^15.7.2",
"pusher-js": "^4.4.0",
"twilio-video": "^1.18.0",
"web-share-wrapper": "^0.2.1"
},
"jest": {
"setupFiles": [
"jest-localstorage-mock"
]
}
}