Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 2.66 KB
/
Copy pathpackage.json
File metadata and controls
76 lines (76 loc) · 2.66 KB
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
{
"name": "bigcommerce-cornerstone",
"description": "The BigCommerce reference theme for the Stencil platform",
"version": "4.11.0",
"private": true,
"author": "BigCommerce",
"license": "MIT",
"dependencies": {
"@bigcommerce/stencil-utils": "^5.0.3",
"core-js": "^3.6.5",
"creditcards": "^3.0.1",
"easyzoom": "^2.5.3",
"focus-within-polyfill": "^5.0.9",
"formdata-polyfill": "^3.0.20",
"foundation-sites": "^5.5.3",
"jquery": "^3.5.1",
"jquery.tabbable": "^1.0.1",
"jstree": "vakata/jstree",
"lazysizes": "5.2.2",
"lodash": "^4.17.19",
"nanobar": "^0.4.2",
"nod-validate": "^2.0.12",
"object-fit-images": "^3.2.4",
"regenerator-runtime": "^0.13.5",
"slick-carousel": "^1.8.1",
"svg-injector": "^1.1.3",
"sweetalert2": "^9.15.3",
"whatwg-fetch": "^3.2.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/preset-env": "^7.2.0",
"@bigcommerce/citadel": "^2.15.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^25.1.0",
"babel-loader": "^8.0.4",
"babel-plugin-lodash": "^3.3.4",
"clean-webpack-plugin": "^0.1.19",
"eslint": "^4.8.0",
"eslint-config-airbnb": "^16.0.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.4.0",
"expose-loader": "^0.7.5",
"grunt": "^1.0.1",
"grunt-cli": "^1.3.2",
"grunt-eslint": "^20.0.0",
"grunt-run": "^0.8.1",
"grunt-scss-lint": "^0.5.0",
"grunt-svgstore": "^1.0.0",
"imports-loader": "^0.7.1",
"jest": "^25.1.0",
"lighthouse": "^4.0.0-alpha.2-3.2.1",
"load-grunt-config": "^0.19.2",
"lodash-webpack-plugin": "^0.11.2",
"npx": "^10.2.0",
"time-grunt": "^1.2.2",
"webpack": "^4.43.0",
"webpack-bundle-analyzer": "^3.8.0",
"webpack-cli": "~3.1.2",
"webpack-merge": "~4.1.2"
},
"scripts": {
"build": "npx webpack --config webpack.prod.js",
"buildDev": "npx webpack --config webpack.dev.js",
"lighthouse": "npx lighthouse --config-path=lighthouse-config.js --quiet --output json --chrome-flags=\"--headless\" $URL | jq '.audits | map_values(.rawValue)'",
"test": "npx jest",
"lint": "eslint assets/js/theme/_customisations/**",
"moveStencil": "mv .stencil-$npm_config_env .stencil",
"resetStencil": "mv .stencil .stencil-$npm_config_env",
"bcs": "npm run moveStencil --env=$npm_config_env && stencil start && npm run resetStencil --env=$npm_config_env",
"bcp": "npm run moveStencil --env=$npm_config_env && npm run lint && stencil push && npm run resetStencil --env=$npm_config_env",
"bcb": "npm run lint && stencil bundle"
}
}