forked from devinit/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
157 lines (157 loc) · 5.35 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
154
155
156
157
{
"name": "@devinit/dh-app",
"version": "3.5.2",
"config": {
"API": "http://212.111.41.68:3000/graphql",
"API_DEV": "http://212.111.41.68:9090/graphql",
"PUPPETEER_SKIP_CHROMIUM_DOWNLOAD": true,
"OLD_DATAHUB_URL": "http://212.111.41.68:8888"
},
"repository": {
"type": "git",
"url": "https://github.com/devinit/datahub"
},
"author": "[email protected]",
"license": "UNLICENSED",
"scripts": {
"emit": "tsc",
"test": "jest src/components/pageData/pageData.test.ts",
"coverage": "BABEL_ENV=test NODE_ENV=test jest -u && codecov",
"cypress:test": "start-server-and-test start http://localhost:8080 cypress:run",
"cypress:run": "cypress run --record --key 13a9c637-1ce1-4f5f-8ebf-08896968b64f",
"cypress:open": "npm run build:next && concurrently \"npm run start\" \"cypress open\"",
"dev": "npm i && NODE_ENV=development nodemon src/server/index.ts",
"build:next": "next build",
"analyze": "ANALYZE=1 next build",
"critical-css": "ts-node src/scripts/critical-css.ts",
"vendor": "ts-node src/scripts/vendor.ts",
"pull": "ts-node src/scripts/pull/index.ts",
"build": "sh ./build.sh",
"build-workers": "ts-node src/scripts/worker.ts",
"build-fragment": "ts-node src/apollo/fragment.ts",
"start": "NODE_ENV=production PORT=8080 node lib/src/server/index.js",
"start:docker": "NODE_ENV=production PORT=8080 node src/server/index.js",
"lint-js": "eslint cypress/**/*.js",
"lint": "npm run lint-js && tslint -c tslint.json 'src/**/*.ts'",
"storybook": "start-storybook -p 6006 -s static",
"gql-schema": "apollo-codegen introspect-schema $npm_package_config_api --output schema.json",
"gql-ts": "apollo-codegen generate ./src/**/query.graphql.ts --schema schema.json --target typescript --output ./src/components/gql-types.ts",
"types": "npm run gql-schema && npm run gql-ts",
"patch": "release-it --no-npm.publish -i patch -n",
"feature": "release-it --no-npm.publish -i minor -n",
"breaking": "release-it --no-npm.publish -i major -n"
},
"pre-commit": [
"lint"
],
"dependencies": {
"@devinit/charts": "1.6.53",
"@devinit/datahub-api": "1.0.6",
"@devinit/prelude": "1.1.1",
"apollo-cache-persist": "0.1.1",
"apollo-client-preset": "1.0.8",
"apollo-fetch": "0.7.0",
"compression": "^1.7.3",
"express": "^4.16.4",
"glamor": "2.20.40",
"glamorous": "^4.13.1",
"graphql": "0.13.2",
"graphql-tag": "^2.10.0",
"intersection-observer": "0.5.0",
"intro.js": "^2.9.3",
"isomorphic-fetch": "2.2.1",
"localforage": "^1.7.3",
"lru-cache": "^4.1.3",
"mapbox-gl": "0.44.1",
"next": "^5.1.0",
"ramda": "^0.26.1",
"react": "^16.6.3",
"react-apollo": "2.0.4",
"react-beautiful-dnd": "6.0.2",
"react-dom": "^16.6.3",
"react-intersection-observer": "3.0.3",
"react-redux": "5.0.7",
"react-resize-detector": "^3.4.0",
"redux": "3.7.2",
"semantic-ui-react": "^0.84.0"
},
"devDependencies": {
"@storybook/addon-actions": "3.3.15",
"@storybook/addon-links": "3.3.15",
"@storybook/addon-storyshots": "3.3.15",
"@storybook/addons": "3.3.15",
"@storybook/react": "3.3.15",
"@types/fs-extra": "^5.0.4",
"@types/jest": "22.2.3",
"@types/next": "2.4.9",
"@types/node": "9.6.6",
"@types/ramda": "^0.25.42",
"@types/react": "^16.4.11",
"@types/react-beautiful-dnd": "6.0.1",
"@types/react-redux": "^6.0.11",
"@types/react-resize-detector": "^3.1.0",
"@types/storybook__react": "^3.0.9",
"@zeit/next-typescript": "0.1.1",
"apollo-codegen": "^0.20.2",
"concurrently": "^3.6.1",
"csso": "^3.5.1",
"cypress": "2.1.0",
"cypress-eslint": "1.1.0",
"enzyme": "^3.7.0",
"enzyme-adapter-react-16": "^1.7.0",
"eslint": "4.19.1",
"eslint-config-airbnb-base": "12.1.0",
"eslint-plugin-chai-friendly": "0.4.1",
"eslint-plugin-cypress": "^2.1.2",
"eslint-plugin-import": "^2.14.0",
"fork-ts-checker-webpack-plugin": "^0.5.0",
"fs-extra": "5.0.0",
"git-pre-hooks": "1.2.0",
"happypack": "4.0.1",
"jest": "22.4.3",
"jest-cli": "22.4.3",
"jsdom": "11.6.2",
"nodemon": "^1.18.7",
"pre-commit": "^1.2.2",
"pretty-format": "22.4.3",
"progress-bar-webpack-plugin": "1.11.0",
"react-test-renderer": "16.2.0",
"start-server-and-test": "1.1.0",
"ts-jest": "22.4.4",
"ts-loader": "3.5.0",
"ts-node": "5.0.1",
"tslint": "^5.11.0",
"tslint-eslint-rules": "^5.4.0",
"tslint-microsoft-contrib": "^5.1.0",
"tslint-react": "^3.6.0",
"typescript": "2.8.3",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "3.11.0",
"webpack-bundle-analyzer": "^2.13.1"
},
"git-pre-hooks": {
"pre-push": [
"npm run lint",
"npm run emit"
]
},
"jest": {
"setupTestFrameworkScriptFile": "<rootDir>/src/jest/config.js",
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"testRegex": ".*\\.test\\.(ts|tsx)$",
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/jest/__mocks__/fileMock.js",
"\\.(css|less)$": "<rootDir>/src/jest/__mocks__/styleMock.js"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
]
}
}