-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.77 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 2.77 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
{
"name": "alldatacomponents",
"version": "0.1.0",
"homepage": "https://github.alldata.com/dev/alldata_components",
"dependencies": {
"@fortawesome/fontawesome-free": "^5.12.0",
"@frctl/fractal": "^1.2.0",
"@frctl/twig": "^1.1.0",
"autoprefixer": "^9.6.5",
"bootstrap": "^4.4.1",
"bulma": "^0.8.0",
"copyfiles": "^2.1.1",
"cross-env": "^6.0.3",
"express-basic-auth": "^1.2.0",
"gh-pages": "^2.1.1",
"http-auth": "^3.2.4",
"jquery": "^3.4.1",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.4",
"patch-package": "^6.2.0",
"plyr": "^3.5.6",
"popper.js": "^1.16.0",
"renamer": "^1.1.4",
"sass": "^1.23.1"
},
"scripts": {
"prestartdev": "cp _preview.twig ./components/_preview.twig && npm run cpimages",
"cpimages": "mkdir -p public/images && cp -r ./assets/images/ ./public/images/",
"startdev": "npm-run-all --parallel dev:* -r",
"commonbuild": "npm run prod:1 && npm run prod:preview ",
"build": "npm run commonbuild && npm run prod:cpheroku",
"static:build": "npm run commonbuild && npm run cpimages && fractal build",
"start": "fractal start -p $PORT ",
"prod:1": "parcel build _previewprod.html --no-minify --out-dir public/",
"prod:preview": "cp public/_previewprod.html ./components/_preview.twig",
"dev:css": "parcel watch assets/scss/global.scss --no-hmr --public-url /css/ --out-dir public/css --out-file global.css",
"dev:js": "parcel watch assets/js/index.js --no-hmr --public-url /js/ --out-dir public/js --out-file index.js",
"dev:fractal": "fractal start --sync",
"debug": "fractal start --sync",
"debug:chrome": "node --inspect --inspect-brk node_modules/.bin/fractal start",
"prod:css": "parcel build styles/homePage/index.css --out-dir public/assets --out-file global.css --no-source-maps",
"prod:js": "parcel build scripts/homePage/index.js --out-dir public/assets --out-file index.js --no-source-maps",
"preprod:cpheroku": "mkdir -p public/images ",
"prod:cpheroku": "cp -rv assets/images/ public/ && npm run prod:cpfavicon",
"prod:cpfavicon": "cp -v assets/favicon.ico public/",
"build_assets_prod": "find public/assets | grep -E '.*\\.bundle\\..*$' | xargs rm; npm run build_styles_prod & npm run build_scripts_prod",
"build_assets_dev": "find public/assets | grep -E '.*\\.bundle\\..*$' | xargs rm; npm run build_styles_dev & npm run build_scripts_dev",
"predeploy": "npm run static:build",
"deploy": "gh-pages -d build",
"postinstall": "patch-package"
},
"devDependencies": {
"husky": "^3.1.0",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1"
},
"engines": {
"node": ">=8.12.0"
},
"engineStrict": true,
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --verbose"
}
}
}