This repository has been archived by the owner on Apr 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 3.36 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
{
"name": "minimalcoinscom",
"private": true,
"version": "0.1.0",
"description": "A simple cryptocurrency ticker site.",
"repository": "https://github.com/MaxMilton/MinimalCoins.com",
"bugs": "https://github.com/MaxMilton/MinimalCoins.com/issues",
"homepage": "https://minimalcoins.com",
"author": "Max Milton <max@wearegenki.com>",
"license": "MIT",
"keywords": [
"cryptocurrency",
"bitcoin",
"hyperapp",
"minna-ui",
"postcss",
"web-performance",
"maxmilton"
],
"scripts": {
"predev": "yarn clean && yarn static",
"dev": "APP_RELEASE=$(git describe --always --dirty=\"-dev\") NODE_ENV=development rollup -c --watch",
"run": "OVERRIDE_ENV=development yarn build && serve dist",
"__run": "yarn build && serve dist",
"prebuild": "yarn clean && yarn static",
"build": "APP_RELEASE=$(git describe --always --dirty=\"-dev\") NODE_ENV=production rollup -c",
"postbuild": "yarn build:css1 && yarn build:css2 && react-snap",
"build:css1": "purgecss --css dist/mc.css --content src/**/*.jsx static/index.html --out dist",
"build:css2": "cleancss --debug --source-map -O1 -O2 -o dist/mc.css dist/mc.css",
"clean": "rm -rf dist && mkdir dist",
"static": "cp static/* dist/",
"lint:css": "stylelint --cache --cache-location=/tmp/ \"**/*.{jsx,html,css}\"",
"lint:js": "eslint --ignore-path .gitignore --ext .js,.jsx .",
"lint": "yarn lint:css && yarn lint:js",
"test": "jest",
"test-ci": "yarn test --coverage --runInBand --ci",
"pretest:watch": "yarn lint",
"test:watch": "yarn test --coverage --watch",
"debug:browsers": "yarn autoprefixer --info"
},
"dependencies": {
"@minna-ui/css": "0.3.0",
"hyperapp": "1.2.6"
},
"devDependencies": {
"@babel/plugin-transform-react-jsx": "7.0.0-beta.52",
"@minna-ui/eslint-config": "0.2.0",
"@minna-ui/jest-config": "0.2.0",
"@minna-ui/postcss-config": "0.2.0",
"@minna-ui/stylelint-config": "0.3.0",
"browser-sync": "2.24.5",
"clean-css-cli": "4.1.11",
"codecov": "3.0.3",
"connect-history-api-fallback": "1.5.0",
"eslint": "4.19.1",
"jest": "23.1.0",
"postcss": "6.0.22",
"puppeteer": "1.5.0",
"purgecss": "1.0.1",
"react-snap": "1.14.0",
"rollup": "0.60.7",
"rollup-plugin-buble": "0.19.2",
"rollup-plugin-commonjs": "9.1.3",
"rollup-plugin-node-resolve": "3.3.0",
"rollup-plugin-postcss": "1.6.2",
"rollup-plugin-terser": "2.0.1",
"stylelint": "9.5.0"
},
"engines": {
"node": ">= 9.8.0"
},
"reactSnap": {
"puppeteerArgs": [
"--no-sandbox",
"--disable-setuid-sandbox"
],
"minifyHtml": {
"minifyCSS": {
"level": {
"1": {
"all": true
},
"2": {
"all": true
}
}
},
"collapseBooleanAttributes": true,
"collapseWhitespace": true,
"decodeEntities": true,
"keepClosingSlash": true,
"removeAttributeQuotes": true,
"removeComments": true,
"removeEmptyAttributes": true,
"removeRedundantAttributes": true,
"removeScriptTypeAttributes": true,
"removeStyleLinkTypeAttributes": true,
"sortAttributes": true,
"sortClassName": true
},
"source": "dist",
"inlineCss": true,
"skipThirdPartyRequests": true,
"preconnectThirdParty": false,
"asyncScriptTags": false
}
}