-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
122 lines (122 loc) · 5.54 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
{
"name": "enm-search-application",
"version": "1.5.0",
"private": true,
"description": "Vue.js/D3 search SPA for the DLTS Enhanced Networked Monographs website.",
"author": "David <da70@nyu.edu>",
"scripts": {
"serve": "vue-cli-service serve",
"build:dev": "vue-cli-service build --mode dev",
"build:stage": "vue-cli-service build --mode stage",
"build:prod": "vue-cli-service build --mode prod",
"cache:invalidate:dev": "aws cloudfront create-invalidation --distribution-id E2DL5S1BQ4HW26 --paths '/search/*'",
"cache:invalidate:stage": "aws cloudfront create-invalidation --distribution-id E1D91RKPQMQWM8 --paths '/search/*'",
"cache:invalidate:prod": "aws cloudfront create-invalidation --distribution-id E1TWMHHWMKVLXN --paths '/search/*'",
"deploy:dev": "yarn run build:dev; yarn run sync:dev; yarn cache:invalidate:dev; sleep 30; yarn test:browser:dev",
"deploy:stage": "yarn run build:stage; yarn run sync:stage; yarn cache:invalidate:stage; sleep 30; yarn test:browser:stage",
"deploy:prod": "yarn run build:prod; yarn run sync:prod; yarn cache:invalidate:prod; sleep 30; yarn test:browser:prod",
"lint": "vue-cli-service lint",
"sync:dev": "aws s3 rm s3://dlts-enm-dev/search --recursive && aws s3 sync dist/ s3://dlts-enm-dev/search",
"sync:stage": "aws s3 rm s3://dlts-enm-stage/search --recursive && aws s3 sync dist/ s3://dlts-enm-stage/search",
"sync:prod": "aws s3 rm s3://dlts-enm/search --recursive && aws s3 sync dist/ s3://dlts-enm/search",
"test": "yarn run lint && yarn run test:unit && yarn run test:browser:local",
"test:browser:local": "node_modules/.bin/wdio tests/browser/conf/wdio.local.conf.js",
"test:browser:local:chrome": "node_modules/.bin/wdio tests/browser/conf/wdio.local.chrome.conf.js",
"test:browser:local:chrome:debug": "node_modules/.bin/wdio tests/browser/conf/wdio.local.chrome.debug.conf.js",
"test:browser:local:firefox": "node_modules/.bin/wdio tests/browser/conf/wdio.local.firefox.conf.js",
"test:browser:local:firefox:debug": "node_modules/.bin/wdio tests/browser/conf/wdio.local.firefox.debug.conf.js",
"test:browser:dev": "node_modules/.bin/wdio tests/browser/conf/wdio.dev.conf.js",
"test:browser:stage": "node_modules/.bin/wdio tests/browser/conf/wdio.stage.conf.js",
"test:browser:prod": "node_modules/.bin/wdio tests/browser/conf/wdio.prod.conf.js",
"test:browser:update:fixtures": "UPDATE_SOLR_RESPONSES_SOLR_SERVER_URL=http://discovery1.dlib.nyu.edu/solr/enm-pages/select node_modules/.bin/wdio tests/browser/conf/wdio.local.chrome.conf.js",
"test:browser:update:golden": "UPDATE_GOLDEN_FILES=1 node_modules/.bin/wdio tests/browser/conf/wdio.local.chrome.conf.js",
"test:unit": "vue-cli-service test:unit"
},
"dependencies": {
"core-js": "^3.3.2",
"d3": "^5.9.2",
"d3-tip": "^0.9.1",
"font-awesome": "4.7.0",
"vue": "^2.6.10",
"vuex": "^3.1.1"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"@babel/preset-env": "^7.4.5",
"@babel/register": "^7.4.4",
"@vue/cli-plugin-babel": "^4.0.5",
"@vue/cli-plugin-eslint": "^4.0.5",
"@vue/cli-plugin-unit-jest": "^4.0.5",
"@vue/cli-service": "^4.0.5",
"@vue/eslint-config-standard": "^4.0.0",
"@vue/test-utils": "^1.0.0-beta.29",
"@wdio/cli": "^7.7.3",
"@wdio/local-runner": "^7.7.3",
"@wdio/mocha-framework": "^7.7.3",
"@wdio/selenium-standalone-service": "^7.7.3",
"@wdio/spec-reporter": "^7.7.3",
"@wdio/sync": "^7.7.3",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.8.0",
"chai": "^4.1.2",
"command-exists": "^1.2.7",
"dlts-solr-fake": "https://github.com/nyulibraries/dlts-solr-fake#v0.2.0",
"eslint": "^5.16.0",
"eslint-plugin-jest": "^22.6.4",
"eslint-plugin-vue": "^5.2.2",
"jest": "^24.8.0",
"jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^2.0.0",
"jest-watch-typeahead": "^0.3.1",
"json-stable-stringify": "^1.0.1",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.1",
"lodash.mergewith": "^4.6.2",
"node-sass": "^4.12.0",
"rimraf": "^2.6.3",
"sass-loader": "^8.0.0",
"vue-jest": "^3.0.4",
"vue-template-compiler": "^2.6.10",
"webdriver": "5.10.4",
"webdriverio": "^7.7.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json",
"vue"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
},
"notify": true,
"notifyMode": "always",
"snapshotSerializers": [
"jest-serializer-vue"
],
"testMatch": [
"**/tests/unit/**/*.test.(js|jsx|ts|tsx)"
],
"testURL": "http://localhost/",
"transform": {
"^.+\\.vue$": "vue-jest",
".+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$": "jest-transform-stub",
"^.+\\.jsx?$": "babel-jest"
},
"transformIgnorePatterns": [
"/node_modules/"
],
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
],
"verbose": true
},
"engines": {
"node": ">= 6.0.0",
"npm": ">= 3.0.0"
}
}