This repository has been archived by the owner on Oct 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
139 lines (139 loc) · 4.86 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
{
"name": "next-on-drupal",
"version": "0.1.0",
"private": true,
"description": "Boilerplate for a NextJS based on Drupal backend application.",
"repository": "[email protected]:TallerWebSolutions/next-on-drupal.git",
"license": "UNLINCENSED",
"author": "Lucas Constantino Silva <[email protected]>",
"sideEffects": false,
"main": "next.config.js",
"scripts": {
"analyze": "BUNDLE_ANALYZE=both yarn build:next",
"build": "yarn build:next && yarn build:server",
"build:next": "next build",
"build:server": "webpack --config config/webpack/webpack.server.js",
"clean": "yarn clean:app && yarn clean:test && yarn clean:docs && yarn clean:storybook && rm -Rf ./build",
"clean:app": "rm -f ./build/server.js && rm -Rf ./build/client && rm -Rf ./node_modules/.cache",
"clean:docs": "rm -Rf .docz && rm -Rf build/docs",
"clean:storybook": "rm -Rf build/storybook",
"clean:test": "rm -Rf coverage",
"deploy": "DEPLOYING=1 now",
"dev": "yarn clean:app && yarn build:server && concurrently \"yarn build:server --watch\" \"DEBUG=next-on-drupal:* nodemon ./build/server.js -w ./build/server.js\"",
"dev:next": "node ./build/server.js",
"dev:server": "yarn build && concurrently \"yarn build:server --watch\" \"NODE_ENV=production DEBUG=next-on-drupal:* nodemon ./build/server.js -w ./build/server.js\"",
"docs": "docz dev",
"docs:build": "docz build",
"docs:deploy": "DEPLOYING=1 yarn docs:build && surge build/docs",
"format": "prettier-eslint 'src/**/*.js' --write",
"format:package": "sort-package-json",
"lint": "eslint src",
"now-build": "yarn build",
"precommit": "lint-staged",
"prepush": "yarn qa",
"qa": "yarn lint && yarn test",
"release": "standard-version",
"start": "NODE_ENV=production node ./build/server.js",
"storybook": "start-storybook -p 6006 -c ./config/storybook/",
"storybook:build": "build-storybook --output-dir=./build/storybook -c ./config/storybook/",
"storybook:deploy": "DEPLOYING=1 yarn build-storybook && mv ./build/storybook/index.html ./build/storybook/200.html && surge build/storybook",
"test": "jest",
"update-mock-schema": "get-graphql-schema http://localhost/graphql > src/client/api/link/mocked-link/schema.gql"
},
"lint-staged": {
"*.js": [
"prettier-eslint --write",
"git add"
],
"package.json": [
"yarn format:package",
"git add"
]
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/\\.stories\\.js/"
],
"coverageThreshold": {
"global": {
"branches": 0,
"functions": 0,
"lines": 0,
"statements": 0
}
},
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setup.js"
]
},
"dependencies": {
"apollo-cache-inmemory": "^1.3.12",
"apollo-client": "^2.4.8",
"apollo-link": "^1.2.11",
"apollo-link-http": "^1.5.14",
"debug": "^4.1.1",
"express": "^4.16.4",
"graphql": "^14.0.2",
"graphql-tag": "^2.10.1",
"isomorphic-fetch": "^2.2.1",
"next": "^8.0.0-canary.2",
"next-compose-plugins": "^2.1.1",
"prop-types": "^15.6.2",
"ramda": "^0.26.1",
"react": "^16.8.4",
"react-apollo": "^2.5.2",
"react-dom": "^16.8.4",
"styled-components": "^4.1.3",
"url-parse": "^1.4.4"
},
"devDependencies": {
"@babel/core": "^7.3.4",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/preset-react": "^7.0.0",
"@storybook/addon-actions": "^5.0.3",
"@storybook/addon-links": "^5.0.3",
"@storybook/addons": "^5.0.3",
"@storybook/react": "^5.0.3",
"@zeit/next-bundle-analyzer": "^0.1.2",
"apollo-link-schema": "^1.2.2",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"babel-plugin-module-resolver": "^3.1.1",
"babel-plugin-styled-components": "^1.10.0",
"classnames": "^2.2.6",
"concurrently": "^4.1.0",
"create-file-webpack": "^1.0.2",
"docz": "^1.0.0-rc.3",
"docz-theme-default": "^1.0.0-rc.3",
"enzyme": "^3.9.0",
"enzyme-adapter-react-16": "^1.11.2",
"eslint": "^5.12.0",
"eslint-config-standard": "^12.0.0",
"eslint-config-standard-react": "^7.0.2",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.3",
"eslint-plugin-standard": "^4.0.0",
"get-graphql-schema": "^2.1.2",
"graphql-tools": "^4.0.4",
"husky": "^1.3.1",
"jest": "^24.5.0",
"limax": "^1.7.0",
"lint-staged": "^8.1.0",
"nodemon": "^1.18.10",
"parse-gitignore": "^1.0.1",
"prettier-eslint-cli": "^4.7.1",
"raw-loader": "^1.0.0",
"sort-package-json": "^1.17.1",
"standard-version": "^5.0.2",
"surge": "^0.20.3",
"webpack-cli": "^3.2.3",
"webpack-node-externals": "^1.7.2"
}
}