-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
153 lines (153 loc) · 5.33 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "npm-registry-browser",
"version": "1.0.2",
"private": true,
"description": "More than a simple todo-list, a React app with real-world constraints and full dev/build/test workflows.",
"keywords": [
"React",
"create-react-app",
"jest",
"enzyme",
"cypress",
"axios",
"unit tests",
"end to end tests"
],
"author": "Christophe Rosset <[email protected]> (http://labs.topheman.com/)",
"repository": {
"type": "git",
"url": "https://github.com/topheman/npm-registry-browser.git"
},
"bugs": {
"url": "https://github.com/topheman/npm-registry-browser/issues"
},
"license": "MIT",
"dependencies": {
"@fnando/sparkline": "^0.3.10",
"@material-ui/core": "^3.1.2",
"@material-ui/icons": "^3.0.1",
"animated-scrollto": "^1.1.0",
"axios": "^0.18.0",
"axios-cache-adapter": "^2.1.1",
"axios-mock-adapter": "^1.15.0",
"axios-retry": "^3.1.1",
"classnames": "^2.2.6",
"downshift": "^2.2.3",
"highlight.js": "^9.12.0",
"hoist-non-react-statics": "^3.0.1",
"invariant": "^2.2.4",
"js-md5": "^0.7.3",
"mdn-polyfills": "^5.12.0",
"prop-types": "^15.6.2",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-markdown": "^3.6.0",
"react-router-dom": "^4.3.1",
"react-scripts": "1.1.4",
"recompose": "^0.30.0",
"relative-date": "^1.1.3",
"semver-match": "^0.1.1",
"warning": "^4.0.2"
},
"scripts": {
"start": "react-scripts --require ./bin/expand-metadatas.js start",
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
"dev": "npm start",
"dev:mock": "echo 'Mock mode' && cross-env REACT_APP_NPM_REGISTRY_API_MOCKS_ENABLED=true REACT_APP_NPM_API_MOCKS_ENABLED=true REACT_APP_NPMS_IO_API_MOCKS_ENABLED=true npm start",
"build": "react-scripts --require ./bin/expand-metadatas.js build",
"build:mock": "echo 'Mock mode' && cross-env REACT_APP_NPM_REGISTRY_API_MOCKS_ENABLED=true REACT_APP_NPM_API_MOCKS_ENABLED=true REACT_APP_NPMS_IO_API_MOCKS_ENABLED=true npm run build",
"test": "npm-run-all --parallel --silent test:unit test:cypress",
"test:travis": "npm-run-all --parallel --silent test:unit test:cypress:travis",
"test:travis:pr": "npm test",
"test:unit": "cross-env CI=true npm run test:unit:watch",
"test:unit:watch": "react-scripts --require ./bin/expand-metadatas.js test --env=jsdom",
"test:cypress": "npm run build && npm run cy:start-server-and-test",
"test:cypress:travis": "npm run build && npm run cy:start-server-and-test:travis",
"test:cypress:dev": "npm-run-all --parallel --race start 'cy:open -- --config baseUrl=http://localhost:3000'",
"test:cypress:debug-build": "npm run build && cross-env CYPRESS_LAUNCH_MODE=debug-build npm-run-all --parallel --race serve cy:open",
"cy:open": "cypress open",
"precy:run": "node cypress/support/precyrun.js",
"cy:run": "cypress run",
"cy:run:travis": "npm run cy:run -- --record --config video=true",
"cy:start-server-and-test": "npx start-server-and-test serve :5000 cy:run",
"cy:start-server-and-test:travis": "npx start-server-and-test serve :5000 cy:run:travis",
"test:precommit": "npm test",
"serve": "npx serve --no-clipboard --listen 5000 build",
"eject": "react-scripts eject",
"lint": "npx eslint .",
"pretty": "npx prettier --write '**/*.{js,jsx,json,css,scss}'",
"proxy-apis-deprecated": "echo 'DEPRECATED' && node ./bin/cors-anywhere.js",
"record-http-mocks": "cross-env REACT_APP_NPM_REGISTRY_API_BASE_URL=https://registry.npmjs.org node ./bin/record-http-mocks.js",
"generate-changelog": "./bin/generate-changelog.js"
},
"lint-staged": {
"**/*.{js,jsx,json,css,scss}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run lint && npm run test:precommit"
}
},
"devDependencies": {
"babel-polyfill": "^6.26.0",
"commander": "^2.18.0",
"cors-anywhere": "^0.4.1",
"cross-env": "^5.2.0",
"cypress": "^3.1.0",
"cypress-testing-library": "^2.2.2",
"dom-testing-library": "^3.8.1",
"enzyme": "^3.6.0",
"enzyme-adapter-react-16": "^1.5.0",
"enzyme-to-json": "^3.3.4",
"eslint-config-airbnb": "^15.1.0",
"eslint-config-prettier": "^2.10.0",
"eslint-plugin-cypress": "^2.0.1",
"eslint-plugin-prettier": "^2.7.0",
"esm": "^3.0.84",
"express": "^4.16.3",
"fs-extra": "^5.0.0",
"generate-changelog": "^1.7.1",
"gh-pages": "^2.0.0",
"git-rev-sync": "^1.12.0",
"github-url-from-git": "^1.5.0",
"http-proxy-middleware": "^0.19.0",
"husky": "^1.1.0",
"jest-dom": "^1.12.1",
"lint-staged": "^7.3.0",
"moment": "^2.22.2",
"nock": "^9.6.1",
"npm-run-all": "^4.1.5",
"prettier": "1.19.1",
"react-testing-library": "^5.1.0",
"serve": "^10.0.2",
"start-server-and-test": "^1.7.13"
},
"proxy": {
"/api/npm-registry": {
"target": "https://registry.npmjs.org",
"changeOrigin": true,
"pathRewrite": {
"^/api/npm-registry": ""
}
},
"/api/npm-api": {
"target": "https://api.npmjs.org",
"changeOrigin": true,
"pathRewrite": {
"^/api/npm-api": ""
}
},
"/api/npms-io": {
"target": "https://api.npms.io",
"changeOrigin": true,
"pathRewrite": {
"^/api/npms-io": ""
}
}
},
"homepage": "."
}