This repository has been archived by the owner on Aug 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·100 lines (100 loc) · 3.83 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
{
"name": "my-new-project",
"version": "1.0.0",
"description": "",
"author": "Minh Phan",
"license": "MIT",
"scripts": {
"start": "cross-env BABEL_ENV=node NODE_ENV=production node dist/index.js",
"dev": "NODE_ENV=development nodemon ./src/index.js --exec babel-node --presets @babel/env --ignore src/client",
"build:server": "cross-env BABEL_ENV=node NODE_ENV=production babel src/server -d dist/server --ignore public && cross-env BABEL_ENV=node NODE_ENV=production babel src/index.js -o dist/index.js && cp -r src/server/views/ dist/server/views/",
"build:client": "cross-env BABEL_ENV=react-production NODE_ENV=production webpack --config ./src/client/webpack.config.js --progress --profile --colors",
"test": "cross-env BABEL_ENV=node mocha --compilers js:@babel/register --timeout=3000 --exit",
"lint": "eslint src/**/*.js",
"lint:fix": "eslint --fix src/**/*.js",
"build": "yarn clean && yarn build:server && yarn build:client",
"serve": "yarn build && yarn start",
"deploy": "yarn build && NODE_ENV=production pm2 start dist/index.js -i max --name shopify-mern -o logs/pm2.log --merge-logs -e logs/pm2-e.log",
"restart": "yarn build && NODE_ENV=production pm2 restart dist/index.js -i max --name shopify-mern -o logs/pm2.log --merge-logs -e logs/pm2-e.log",
"stop": "pm2 stop shopify-mern",
"delete": "pm2 delete shopify-mern",
"clean": "rm -rf ./assets && mkdir ./assets && rm -rf ./dist && mkdir ./dist"
},
"dependencies": {
"@babel/runtime": "^7.0.0-beta.47",
"@shopify/polaris": "^2.0.0",
"@shopify/shopify-express": "https://github.com/paul-phan/shopify-express",
"bcrypt-nodejs": "^0.0.3",
"body-parser": "^1.18.3",
"chalk": "^2.4.1",
"cheerio": "^1.0.0-rc.2",
"clockwork": "^0.1.4",
"compression": "^1.7.2",
"connect-mongo": "^2.0.1",
"dotenv": "^5.0.1",
"errorhandler": "^1.5.0",
"express": "^4.16.3",
"express-flash": "^0.0.2",
"express-session": "^1.15.6",
"express-status-monitor": "^1.0.1",
"express-validator": "^5.2.0",
"lodash-decorators": "^5.0.0",
"lusca": "^1.6.0",
"mongoose": "^5.1.1",
"morgan": "^1.9.0",
"multer": "^2.0.0-alpha.6",
"nodemailer": "^4.6.4",
"passport": "^0.4.0",
"passport-local": "^1.0.0",
"passport-oauth": "^1.0.0",
"prop-types": "^15.6.1",
"pug": "^2.0.3",
"react": "^16.3.2",
"react-dom": "^16.3.2",
"request": "^2.86.0",
"shopify-api-node": "^2.14.0",
"socket.io": "^2.1.0",
"validator": "^10.2.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.47",
"@babel/core": "7.0.0-beta.47",
"@babel/node": "^7.0.0-beta.47",
"@babel/plugin-proposal-class-properties": "^7.0.0-beta.47",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.47",
"@babel/plugin-syntax-dynamic-import": "^7.0.0-beta.47",
"@babel/plugin-transform-runtime": "7.0.0-beta.47",
"@babel/preset-env": "7.0.0-beta.47",
"@babel/preset-react": "7.0.0-beta.47",
"@babel/register": "7.0.0-beta.47",
"babel-eslint": "^8.2.3",
"babel-loader": "^8.0.0-beta.0",
"chai": "^4.1.2",
"cross-env": "^5.1.5",
"css-loader": "^0.28.11",
"eslint": "^5.0.0-alpha.2",
"eslint-config-prettier": "^2.9.0",
"eslint-config-react": "^1.1.7",
"eslint-plugin-prettier": "^2.6.0",
"eslint-plugin-react": "^7.8.2",
"file-loader": "^1.1.11",
"mocha": "^5.1.1",
"nodemon": "^1.17.4",
"postcss-loader": "^2.1.5",
"prettier": "^1.12.1",
"react-hot-loader": "^4.1.3",
"sinon": "^5.0.7",
"sinon-mongoose": "^2.1.1",
"style-loader": "^0.21.0",
"supertest": "^3.1.0",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.3",
"webpack-dev-middleware": "^3.1.3",
"webpack-dev-server": "^3.1.4",
"webpack-hot-middleware": "^2.22.2"
},
"engines": {
"node": ">=8.11.1",
"npm": ">=5.6.0"
}
}