-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
92 lines (92 loc) · 5.18 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
{
"name": "trustlines-foundation-website",
"version": "0.8.0",
"repository": "https://github.com:trustlines-network/trustlines-foundation-website.git",
"license": "UNLICENSED",
"private": true,
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@creativebulma/bulma-collapsible": "^1.0.4",
"babel-eslint": "10.0.1",
"babel-loader": "^8.0.6",
"babel-preset-react-app": "^9.0.0",
"bulma": "^0.7.5",
"bulma-divider": "^0.2.0",
"compression-webpack-plugin": "^3.0.0",
"concurrently": "^4.1.1",
"copy-to-clipboard": "^3.2.0",
"cpy-cli": "^2.0.0",
"del-cli": "^2.0.0",
"dotenv-cli": "^2.0.1",
"dotenv-webpack": "^1.7.0",
"eslint": "^5.16.0",
"eslint-config-react-app": "^4.0.1",
"eslint-loader": "2.1.2",
"eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "7.12.4",
"eslint-plugin-react-hooks": "^1.5.0",
"ethereum-address": "^0.0.4",
"gh-pages": "2.0.1",
"html-minifier": "^4.0.0",
"husky": "^3.0.2",
"livereload": "^0.8.0",
"mathjs": "^7.0.0",
"moment-timezone": "^0.5.26",
"node-sass": "^4.13.1",
"nunjucks-cli": "^1.0.0",
"prettier": "^1.18.2",
"react": "^17.0.2",
"react-app-polyfill": "^1.0.1",
"react-dev-utils": "^9.0.1",
"react-dom": "^17.0.2",
"react-notify-toast": "^0.5.0",
"serve": "^11.1.0",
"web3": "2.0.0-alpha.1",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"webpack-merge": "^4.2.1"
},
"scripts": {
"docker-preview": "yarn run build-preview && docker build . -t preview.trustlines.foundation",
"build-preview": "yarn run clean && yarn run build-html-preview && yarn run build-css && yarn run build-js-preview && yarn run build-assets",
"build": "gatsby build",
"watch": "yarn run clean && yarn run build-assets && concurrently --kill-others -p \"[{name}]\" -n \"HTML,JS,CSS,SERVE,LIVERELOAD\" -c \"bgBlue.bold,bgMagenta.bold,bgGreen.bold,bgCyan.bold,bgYellow.bold\" \"yarn run watch-html\" \"yarn run watch-js\" \"yarn run watch-css\" \"serve --no-clipboard --listen 8080 ./dist\" \"livereload ./src --wait 1000 --extraExts 'njk,sass,scss,json'\"",
"clean": "yarn run clean-html && yarn run clean-css && yarn run clean-js && yarn run clean-assets",
"build-html": "yarn run clean-html && NODE_ENV=production dotenv -e .env.production -e .env.example -- nunjucks **/*.njk --path ./src/view/ --out ./dist/ && yarn run minify-html",
"build-html-preview": "yarn run clean-html && NODE_ENV=development dotenv -e .env.development -e .env.example -- nunjucks **/*.njk --path ./src/view/ --out ./dist/ && yarn run minify-html",
"minify-html": "html-minifier --collapse-whitespace --remove-comments --remove-optional-tags --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --use-short-doctype --minify-css true --minify-js true --input-dir ./dist/ --output-dir ./dist/ --file-ext html",
"watch-html": "yarn run clean-html && NODE_ENV=development dotenv -e .env.development -e .env.example -- nunjucks **/*.njk --path ./src/view/ --out ./dist/ --watch",
"clean-html": "del -f ./dist/**/*.html",
"build-css": "yarn run clean-css && NODE_ENV=production node-sass --include-path node_modules ./src/sass/ --output-style compressed --output ./dist/css/$(node -e \"console.log(require('./package.json').version)\")/",
"watch-css": "yarn run clean-css && NODE_ENV=development node-sass --include-path node_modules ./src/sass/ --output-style expanded --source-map true --output ./dist/css/$(node -e \"console.log(require('./package.json').version)\")/ && NODE_ENV=development node-sass --include-path node_modules --watch ./src/sass/ --output-style expanded --source-map true --output ./dist/css/$(node -e \"console.log(require('./package.json').version)\")/",
"clean-css": "del -f ./dist/css/**/*",
"build-js": "yarn run clean-js && NODE_ENV=production webpack --config webpack.prod.js",
"build-js-preview": "yarn run clean-js && NODE_ENV=development webpack --config webpack.dev.js",
"watch-js": "yarn run clean-js && NODE_ENV=development webpack --watch --config webpack.dev.js",
"clean-js": "del -f ./dist/js/**/*",
"build-assets": "cpy ./src/images/* ./dist/img/ && cpy ./CNAME ./dist/ && cpy ./src/images/favicon.ico ./dist/ && cpy ./auction-summary.json ./dist/ && cpy ./src/fonts* ./dist/fonts",
"clean-assets": "del -f ./dist/img/**/* && del -f ./dist/CNAME && del -f ./dist/fonts/*",
"format": "eslint ./src/**/*.js ./webpack.*.js --fix",
"prettier:big-tabs": "prettier --write --print-width 120 --no-semi --single-quote --tab-width 4 './src/**/*.js'",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"deploy": "gatsby build --prefix-paths && gh-pages -d public",
"start": "gatsby develop"
},
"dependencies": {
"autoprefixer": "^10.3.1",
"chart.js": "2.8.0",
"gatsby": "^3.11.1",
"gatsby-plugin-postcss": "^4.11.0",
"gatsby-plugin-react-helmet": "^4.11.0",
"jquery": "^3.6.0",
"postcss": "^8.3.6",
"react-helmet": "^6.1.0",
"react-youtube": "^7.13.1",
"tailwindcss": "^2.2.7"
}
}