-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
160 lines (160 loc) · 6.22 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
{
"name": "cobblestone",
"description": "Modern static website boilerplate",
"version": "0.2.0-rc.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"dev": "yarn fetch && NODE_ENV=development webpack-dev-server --config webpack/dev.config.js --progress --watch --hot",
"build": "yarn fetch && NODE_ENV=production webpack --config webpack/prod.config.js --progress",
"fetch": "node lib/scripts/fetch-from-cms.js",
"serve": "static --gzip --port 3333 --host-address 0.0.0.0 --cache 144000 dist",
"component": "cry g component $npm_package_config_scaffold_component",
"analyze": "NODE_ENV=production webpack --config webpack/analyze.config.js",
"storybook": "start-storybook -p 4000 -c .storybook -s .storybook/dist & vue-devtools",
"storybook:ci": "start-storybook -p 4000 -c .storybook -s .storybook/dist --ci",
"storybook:build": "build-storybook -c .storybook -o .storybook/dist",
"storybook:serve": "static --gzip --port 4444 --host-address 0.0.0.0 --cache 144000 .storybook/dist",
"test": "yarn test:jest && yarn test:cypress && yarn test:backstop",
"test:jest": "NODE_ENV=test jest",
"test:cypress": "start-test storybook:ci http-get://0.0.0.0:4000 cypress:components && start-test dev http-get://0.0.0.0:3000 cypress:app",
"test:backstop": "start-test dev http-get://0.0.0.0:3000 backstop:run",
"lighthouse": "lighthouse http://localhost:3333 --view --output-path tests/lighthouse/report.html",
"sitespeed": "sitespeed.io http://localhost:3333 --output-folder tests/sitespeed/result && static --port 5000 tests/sitespeed/result && open http://0.0.0.0:5000",
"cypress:open": "cypress open",
"cypress:app": "cypress run --headed --spec 'tests/cypress/integration/app/**/*' --config baseUrl=http://0.0.0.0:3000",
"cypress:components": "cypress run --headed --spec 'tests/cypress/integration/components/**/*' --config baseUrl=http://0.0.0.0:4000",
"backstop:report": "backstop openReport --config=backstop.config.js",
"backstop:approve": "backstop approve --config=backstop.config.js",
"backstop:run": "docker run --rm -it -v $(pwd):/src backstopjs/backstopjs:latest test --config=backstop.config.js"
},
"browserslist": "last 2 versions",
"config": {
"project": {
"name": "Cobblestone",
"description": "Modern static site framework and generator",
"bgColor": "#ffffff",
"themeColor": "#020202"
},
"scaffold": {
"component": ""
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,vue,css,scss,md}": [
"prettier --write",
"git add"
]
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/polyfill": "^7.2.5",
"@babel/preset-env": "^7.3.1",
"@prerenderer/renderer-puppeteer": "^0.2.0",
"@scarab/carapace": "^4.0.0-rc.0",
"@storybook/addon-a11y": "^4.1.7",
"@storybook/addon-actions": "^4.1.7",
"@storybook/addon-backgrounds": "^4.1.7",
"@storybook/addon-console": "^1.1.0",
"@storybook/addon-knobs": "^4.1.7",
"@storybook/addon-links": "^4.1.7",
"@storybook/addon-notes": "^4.1.7",
"@storybook/addon-options": "^4.1.7",
"@storybook/addon-storyshots": "^4.1.7",
"@storybook/addon-storysource": "^4.1.7",
"@storybook/addon-viewport": "^4.1.7",
"@storybook/addons": "^4.1.7",
"@storybook/vue": "^4.1.7",
"@vue/devtools": "^4.1.5",
"@vue/test-utils": "^1.0.0-beta.28",
"autoprefixer": "^9.4.6",
"axe-cli": "^3.0.0",
"axe-core": "^3.1.2",
"axios": "^0.18.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.5",
"babel-plugin-module-resolver": "^3.1.3",
"babel-plugin-require-context-hook": "^1.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-vue": "^2.0.2",
"backstopjs": "^3.8.8",
"battlecry": "^0.3.4",
"clean-webpack-plugin": "^1.0.1",
"compression-webpack-plugin": "^2.0.0",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "^2.1.0",
"css-mqpacker": "^7.0.0",
"cssnano": "^4.1.8",
"custom-event-polyfill": "^1.0.6",
"cypress": "^3.1.4",
"cypress-axe": "^0.3.0",
"del": "^3.0.0",
"duplicate-package-checker-webpack-plugin": "^3.0.0",
"favicons-webpack-plugin": "^0.0.9",
"friendly-errors-webpack-plugin": "^1.7.0",
"hard-source-webpack-plugin": "^0.13.1",
"highlight.js": "^9.13.1",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"imagemin-webpack-plugin": "^2.4.0",
"is-ci": "^2.0.0",
"jest": "^23.6.0",
"jest-serializer-vue": "^2.0.2",
"jest-transform-stub": "^1.0.0",
"jest-vue-preprocessor": "^1.4.0",
"lazysizes": "^4.1.5",
"lighthouse": "^4.0.0",
"lint-staged": "^8.1.0",
"lodash": "^4.17.11",
"mini-css-extract-plugin": "^0.5.0",
"node-sass": "^4.11.0",
"node-static": "^0.7.11",
"offline-plugin": "^5.0.5",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"postcss-loader": "^3.0.0",
"postcss-preset-env": "^6.5.0",
"prerender-spa-plugin": "^3.4.0",
"prettier": "^1.16.1",
"psi": "^3.1.0",
"raw-loader": "^1.0.0",
"regenerator-runtime": "^0.13.1",
"require-dir": "^1.2.0",
"rimraf": "^2.6.3",
"sass-extract": "^2.1.0",
"sass-extract-loader": "^1.1.0",
"sass-loader": "^7.1.0",
"sass-resources-loader": "^2.0.0",
"script-ext-html-webpack-plugin": "^2.1.3",
"simple-progress-webpack-plugin": "^1.1.2",
"sitespeed.io": "^8.0.3",
"start-server-and-test": "^1.7.11",
"storybook-addon-vue-info": "^0.7.1",
"style-loader": "^0.23.1",
"svg-inline-loader": "^0.8.0",
"terser-webpack-plugin": "^1.2.1",
"url-loader": "^1.1.2",
"vue": "^2.5.22",
"vue-jest": "^3.0.2",
"vue-loader": "^15.5.1",
"vue-router": "^3.0.2",
"vue-style-loader": "^4.1.2",
"vue-template-compiler": "^2.5.22",
"vue-template-es2015-compiler": "^1.8.1",
"webapp-webpack-plugin": "^2.5.0",
"webpack": "^4.29.0",
"webpack-bundle-analyzer": "^3.3.2",
"webpack-cli": "^3.2.1",
"webpack-dev-server": "^3.1.14",
"webpack-merge": "^4.2.1",
"wpapi": "^1.1.2",
"write-file-webpack-plugin": "^4.4.1"
}
}