-
Notifications
You must be signed in to change notification settings - Fork 23
/
package.json
162 lines (162 loc) · 6.47 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
158
159
160
161
162
{
"name": "hellobooks",
"version": "1.0.0",
"description": "A simple library app",
"main": "dist/server/app.js",
"scripts": {
"job": "babel-node server/cronJob",
"cron": "node dist/server/cronJob",
"start": "node dist/server/bin/www.js",
"start:debug": "node --inspect dist/server/bin/www.js",
"start:client": "webpack-dev-server --hot --config ./webpack.dev.config.js",
"start:server": "nodemon server/bin/www --exec babel-node",
"start:server:debug": "nodemon --inspect server/bin/www --exec babel-node",
"coverage": "NODE_ENV=test nyc report --reporter=text-lcov | coveralls",
"test": "npm run test:client && npm run test:server",
"migrate:test": "sequelize db:migrate:undo:all --env test && sequelize db:migrate --env test",
"seed:tables:test": "cross-env NODE_ENV=test babel-node server/seeders/user.js && babel-node server/seeders/bookCategory.js && babel-node server/seeders/book.js",
"seed:join:test": "cross-env NODE_ENV=test babel-node server/seeders/borrowedBook.js",
"migrate:dev": "sequelize db:migrate:undo:all --env development && sequelize db:migrate --env development",
"seed:join:dev": "cross-env NODE_ENV=development babel-node server/seeders/borrowedBook.js",
"seed:tables:dev": "cross-env NODE_ENV=development babel-node server/seeders/user.js && babel-node server/seeders/bookCategory.js && babel-node server/seeders/book.js",
"migrate": "sequelize db:migrate:undo:all --env production && sequelize db:migrate --env production",
"seed:tables": "cross-env NODE_ENV=production babel-node server/seeders/user.js && babel-node server/seeders/bookCategory.js && babel-node server/seeders/book.js",
"seed:join": "cross-env NODE_ENV=production babel-node server/seeders/borrowedBook.js",
"test:client": "jest /client --coverage",
"pretest:server": "npm run migrate:test && NODE_ENV=test npm run seed:tables:test && NODE_ENV=test npm run seed:join:test",
"test:server": "NODE_ENV=test nyc --reporter=html --reporter=text mocha -t 5000 --compilers js:babel-register server/test/**/*.spec.js",
"build": "rm -rf dist && babel server --ignore test,seeders -d dist/server && webpack --config ./webpack.prod.config.js --progress --colors && cp client/manifest.json dist/client && npm run copy:docs && npm run copy:images",
"copy:docs": "cp server/docs/index.html dist/server/docs && cp -r server/docs/stylesheets dist/server/docs/stylesheets && cp -r server/docs/images dist/server/docs/images && cp -r server/docs/fonts dist/server/docs/fonts",
"copy:images": "mkdir dist/client/static && cp client/static/*.png client/static/favicon.ico dist/client/static",
"heroku-postbuild": "npm run build",
"e2e-setup": "selenium-standalone install",
"e2e-server": "selenium-standalone start",
"start:server:e2e": "NODE_ENV=test nodemon server/bin/www --exec babel-node",
"pretest:e2e": "npm run pretest:server",
"test:e2e": "nightwatch"
},
"nyc": {
"exclude": [
"**/*.spec.js",
"dist"
]
},
"engines": {
"node": "8",
"npm": "5.2.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/segunolalive/helloBooks.git"
},
"keywords": [
"react",
"library"
],
"author": "segun ola",
"license": "ISC",
"bugs": {
"url": "https://github.com/segunolalive/helloBooks/issues"
},
"homepage": " https://segunolalive.github.io/helloBooks/templates/",
"dependencies": {
"ajv": "^5.5.1",
"axios": "^0.16.2",
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^8.0.3",
"babel-loader": "^7.1.1",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-constant-elements": "^6.23.0",
"babel-plugin-transform-react-inline-elements": "^6.22.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.10",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-register": "^6.24.1",
"bcrypt": "1.0.2",
"body-parser": "^1.17.2",
"brotli-webpack-plugin": "^0.5.0",
"compression-webpack-plugin": "^1.1.0",
"copy-webpack-plugin": "^4.3.0",
"css-loader": "^0.28.5",
"deepclonejs": "^1.0.3",
"dotenv": "^4.0.0",
"dotenv-webpack": "^1.5.4",
"express": "^4.15.3",
"express-static-gzip": "^0.3.1",
"express-validator": "^4.2.1",
"extract-text-webpack-plugin": "^3.0.2",
"faker": "^4.1.0",
"file-loader": "^0.11.2",
"firebase": "^4.6.2",
"html-webpack-plugin": "^2.30.1",
"jquery": "^3.2.1",
"jsonwebtoken": "^7.4.2",
"lodash": "^4.17.4",
"materialize-css": "^0.100.2",
"moment": "^2.18.1",
"morgan": "^1.8.2",
"node-sass": "^4.5.3",
"nodemailer": "^4.1.0",
"npm": "^5.4.1",
"pg": "^6.4.1",
"pg-hstore": "^2.3.2",
"prop-types": "^15.5.10",
"react": "^15.6.2",
"react-dom": "^15.6.1",
"react-google-login": "^2.9.3",
"react-icons": "^2.2.5",
"react-infinite-scroller": "^1.1.1",
"react-materialize": "^1.0.10",
"react-pdf": "^2.4.2",
"react-pdf-js": "^3.0.3",
"react-redux": "^5.0.6",
"react-router-dom": "^4.2.0",
"redux": "^3.7.2",
"redux-devtools-extension": "^2.13.2",
"redux-thunk": "^2.2.0",
"sass-loader": "^6.0.6",
"sequelize": "^4.16.0",
"sequelize-cli": "^2.8.0",
"style-loader": "^0.18.2",
"superagent": "^3.8.1",
"toastr": "^2.1.4",
"url-loader": "^0.5.9",
"webpack": "^3.5.5",
"webpack-merge": "^4.1.1",
"workbox-sw": "^2.1.2",
"workbox-webpack-plugin": "^2.1.2"
},
"devDependencies": {
"babel-jest": "^21.2.0",
"babel-plugin-istanbul": "^4.1.4",
"chai": "^4.1.0",
"coveralls": "^2.13.1",
"cross-env": "^5.0.5",
"enzyme": "^3.2.0",
"enzyme-adapter-react-15": "^1.0.5",
"eslint": "^4.3.0",
"eslint-config-airbnb": "^15.1.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.1.1",
"eslint-plugin-react": "^7.1.0",
"istanbul": "^0.4.5",
"jest": "^21.2.1",
"mocha": "^3.5.0",
"moxios": "^0.4.0",
"nyc": "^11.1.0",
"react-test-renderer": "^15.6.2",
"redux-mock-store": "^1.3.0",
"selenium-standalone": "^6.11.0",
"sinon": "^4.1.2",
"sinon-express-mock": "^1.3.1",
"supertest": "^3.0.0",
"webpack-dev-middleware": "^1.12.0",
"webpack-dev-server": "^2.6.1",
"webpack-hot-middleware": "^2.18.2"
}
}