-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
84 lines (84 loc) · 2.62 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
{
"name": "dcard-images",
"version": "1.1.0",
"description": "Dcard gallery for all images in the article and comments",
"main": "index.js",
"scripts": {
"build": "webpack && cat meta.js index.user.js > temp && mv temp index.user.js",
"prettier:check": "prettier --check './**/*.{js,json,css}' && echo \"✅ Prettier validated\"",
"prettier:write": "prettier --write './**/*.{js,json,css}'",
"stylelint": "stylelint './{components,stories}/**/*.js' && echo \"✅ Stylelint validated\"",
"lint": "eslint './**/*.js'",
"lint:fix": "eslint './**/*.js' --fix",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"test:functional": "npm run build && codeceptjs run"
},
"repository": {
"type": "git",
"url": "git+https://github.com/x3388638/dcard-images.git"
},
"author": "YY",
"license": "MIT",
"bugs": {
"url": "https://github.com/x3388638/dcard-images/issues"
},
"homepage": "https://github.com/x3388638/dcard-images#readme",
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@storybook/addon-actions": "^5.2.8",
"@storybook/addon-knobs": "^5.2.8",
"@storybook/addon-links": "^5.2.8",
"@storybook/addons": "^5.2.8",
"@storybook/react": "^5.2.8",
"babel-loader": "^8.0.6",
"babel-plugin-styled-components": "^1.10.6",
"babel-preset-minify": "^0.5.1",
"codeceptjs": "^2.4.1",
"eslint": "^6.8.0",
"eslint-plugin-react": "^7.17.0",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"puppeteer": "^2.0.0",
"stylelint": "^13.2.0",
"stylelint-config-prettier": "^8.0.1",
"stylelint-config-standard": "^20.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.10.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"lint-staged": {
"*.{js,json,css}": [
"npm run prettier:check",
"git add"
],
"*.js": [
"npm run stylelint",
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test:functional"
}
},
"dependencies": {
"@babel/polyfill": "^7.7.0",
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.8",
"intersection-observer": "^0.7.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-grid-carousel": "^0.2.0",
"react-transition-group": "^4.3.0",
"styled-components": "^4.4.1"
}
}