-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
112 lines (112 loc) · 4.02 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
{
"name": "ICGC-cookie-gdpr",
"version": "0.0.1",
"description": "A small cookie consent banner that complies with the EU GDPR",
"author": "@geostarters",
"main": "dist/index.js",
"license": "MIT",
"repository": {
"type": "git",
"url": "git://github.com/gencat/ICGC-Cookie-GDPR.git"
},
"engines": {
"node": ">=6.4.0"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-object-assign": "^6.22.0",
"babel-preset-env": "^1.7.0",
"browserify": "^15.2.0",
"browserify-css": "^0.15.0",
"coveralls": "^3.1.0",
"derequire": "^2.1.1",
"diff": "^4.0.2",
"documentation": "^14.0.1",
"envify": "^4.1.0",
"eslint-plugin-html": "^4.0.6",
"eslint-plugin-node": "^5.2.1",
"eslint-plugin-react": "^7.20.6",
"execcommand-copy": "^1.1.0",
"flow-bin": "^0.64.0",
"flow-coverage-report": "^0.8.0",
"flow-remove-types": "^1.2.3",
"github-slugger": "^1.3.0",
"glob": "^7.1.6",
"in-publish": "^2.0.1",
"mem": "^6.1.0",
"minifyify": "^7.3.5",
"mock-browser": "^0.92.14",
"npm-run-all": "^4.1.5",
"package-json-versionify": "^1.0.4",
"present": "^1.0.0",
"prismjs": "^1.27.0",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^5.2.1",
"st": "^1.2.2",
"watchify": "^3.11.1"
},
"browserify": {
"transform": [
"unflowify",
[
"bubleify",
{
"bubleError": true,
"transforms": {
"dangerousForOf": true
},
"objectAssign": "Object.assign"
}
],
"package-json-versionify",
"unassertify",
"brfs"
]
},
"scripts": {
"watch-dev": "watchify src/index.js --debug --ignore-transform unassertify --standalone icgc --outfile dist/cookies-icgc-dev.js --verbose",
"build-js": "browserify src/index.js --debug --ignore-transform unassertify --standalone icgc > dist/cookies-icgc-dev.js",
"build-js-min": "browserify src/index.js --debug --plugin [minifyify --map cookies-icgc.js.map --output dist/cookies-icgc.js.map] --standalone icgc | derequire > dist/cookies-icgc.js",
"build-css": "browserify src/styles/index.css -t [browserify-css --minify=false --inlineImages=true --output dist/cookies-icgc.css]",
"build-css-min": "browserify src/styles/index.css -t [browserify-css --minify=true --inlineImages=true --output dist/cookies-icgc.min.css]",
"build-dev": "run-p build-js build-css",
"build-min": "run-p build-js-min build-css-min",
"start-server": "st --no-cache -H 127.0.0.1 --port 9966 --index index.html .",
"start": "run-p watch-dev start-server open",
"open": "node build/dev-server.js",
"build-docs": "documentation build --github --format json --config ./docs/documentation.yml --output docs/components/api.json src/index.js",
"lint": "eslint --fix --cache --ignore-path .gitignore src test bench docs",
"lint-docs": "documentation lint src/index.js",
"test": "run-s lint test-flow test-unit",
"test-unit": "tap --reporter classic --no-coverage test/unit",
"test-flow": "flow .",
"test-cov": "nyc --require=flow-remove-types/register --reporter=text-summary --reporter=lcov --cache npm run test-unit",
"pre-production": "run-s lint build-min test test-cov",
"ie11-dev": "babel dist/cookies-icgc-dev.js --out-file dist/cookies-icgc-dev-ie11.js --presets=env",
"ie11": "babel dist/cookies-icgc.js --out-file dist/cookies-icgc-ie11.js --presets=env",
"preinstall": "npx npm-force-resolutions"
},
"files": [
"build/",
"dist/",
"flow-typed/",
"src/",
".flowconfig"
],
"dependencies": {
"@geostarters/eslint-config": "git+https://github.com/geostarters/eslint-config-geostart.git",
"brfs": "^1.4.4",
"bubleify": "^1.2.1",
"eslint-config-geostart": "git+https://github.com/geostarters/eslint-config-geostart.git",
"opn": "^5.5.0",
"tap": "^16.3.4",
"unassertify": "^2.1.0",
"unflowify": "^1.0.1"
},
"resolutions": {
"diff": "^4.0.2",
"lodash": ">=4.17.19",
"mem": "^6.1.0"
}
}