forked from nodejs/nodejs.dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
130 lines (130 loc) · 4.13 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "nodejs-website",
"description": "Node.js Demo Page",
"version": "0.3.0",
"author": "Adam Miller <ammiller@linkedin.com>",
"private": true,
"dependencies": {
"@emotion/babel-preset-css-prop": "^10.0.27",
"@emotion/core": "^10.0.7",
"@smotaal.io/dark-mode-controller": "<0.5",
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/react": "^5.3.19",
"@types/react-tabs": "2.3.1",
"babel-preset-react-app": "^9.1.2",
"color": "^3.1.2",
"color-string": "^1.5.3",
"dotenv": "^8.2.0",
"emotion": "^10.0.27",
"emotion-server": "^10.0.27",
"gatsby": "^2.21.11",
"gatsby-plugin-canonical-urls": "^2.2.3",
"gatsby-plugin-catch-links": "^2.2.1",
"gatsby-plugin-emotion": "^4.2.1",
"gatsby-plugin-manifest": "^2.4.0",
"gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-plugin-offline": "^3.1.2",
"gatsby-plugin-react-helmet": "^3.2.4",
"gatsby-plugin-sass": "2.3.1",
"gatsby-plugin-sharp": "^2.5.7",
"gatsby-plugin-sitemap": "^2.0.5",
"gatsby-plugin-typescript": "^2.3.5",
"gatsby-remark-autolink-headers": "^2.2.1",
"gatsby-remark-images": "^3.2.2",
"gatsby-remark-prismjs": "^3.5.0",
"gatsby-source-filesystem": "^2.2.5",
"gatsby-transformer-remark": "^2.8.5",
"intersection-observer": "^0.10.0",
"prismjs": "^1.21.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-emotion": "^10.0.0",
"react-helmet": "^6.0.0",
"react-tabs": "3.1.0",
"typescript": "3.9.2"
},
"keywords": [
"gatsby",
"node.js"
],
"license": "MIT",
"scripts": {
"build": "gatsby build",
"build-ci": "gatsby build --prefix-paths",
"start": "gatsby develop",
"format": "prettier --write \"**/*.{ts,tsx,js,scss}\" && npm run lint:fix",
"format-check": "prettier --check \"**/*.{ts,tsx,js,scss}\"",
"update-snapshot": "npm run test -- --updateSnapshot",
"pretest": "npm run format-check && npm run lint",
"test": "jest",
"test-watch": "jest --watch",
"test-ci": "npm run test -- --coverage && codecov",
"lint": "eslint src --ext .js,.ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"serve": "npm run build && clear && gatsby serve",
"md-check": "remark -qf .",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook -o ./public/storybook"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-typescript": "^7.9.0",
"@types/jest": "^25.2.1",
"@types/react-helmet": "6.0.0",
"@types/react-test-renderer": "^16.9.2",
"@typescript-eslint/eslint-plugin": "2.33.0",
"@typescript-eslint/parser": "^2.28.0",
"babel-jest": "26.0.1",
"babel-preset-gatsby": "0.4.2",
"codecov": "^3.7.1",
"eslint": "7.0.0",
"eslint-config-airbnb": "18.1.0",
"eslint-config-prettier": "6.11.0",
"eslint-import-resolver-typescript": "2.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-jsx-a11y": "^6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.12.4",
"eslint-plugin-react-hooks": "4.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "26.0.1",
"node-sass": "4.14.1",
"prettier": "^2.0.4",
"react-test-renderer": "^16.13.1",
"remark-cli": "^8.0.0",
"remark-frontmatter": "^2.0.0",
"remark-preset-lint-node": "^1.13.0",
"babel-loader": "^8.1.0"
},
"repository": {
"type": "git",
"url": "https://github.com/nodejs/nodejs.dev"
},
"jest": {
"transform": {
"^.+\\.(ts|tsx|js)$": "<rootDir>/test-preprocessor.js"
},
"moduleNameMapper": {
".+\\.(css|styl|less|sass|scss)$": "identity-obj-proxy",
".+\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/test/__mocks__/fileMock.js"
},
"testPathIgnorePatterns": [
"node_modules",
".cache"
],
"transformIgnorePatterns": [
"node_modules/(?!(gatsby)/)"
],
"globals": {
"__PATH_PREFIX__": ""
},
"setupFiles": [
"<rootDir>/test-setup.js"
],
"collectCoverageFrom": [
"src/**/**.(ts|tsx|js)"
]
}
}