forked from segmentio/consent-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
130 lines (130 loc) · 3.49 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "@onedox/consent-manager",
"version": "1.3.0-0.1.2",
"description": "Drop-in consent management plugin for analytics.js",
"keywords": [
"gdpr",
"tracking",
"analytics",
"analytics.js"
],
"repository": "onedox/consent-manager",
"license": "MIT",
"main": "commonjs/index.js",
"module": "esm/index.js",
"sideEffects": false,
"files": [
"commonjs",
"esm",
"standalone"
],
"scripts": {
"test": "xo && ava",
"prepublishOnly": "yarn run clean && yarn run build",
"postpublish": "yarn run deploy-storybook",
"precommit": "lint-staged",
"dev": "start-storybook -p 9009",
"build-commonjs": "BABEL_ENV=commonjs babel src --out-dir commonjs --source-maps inline",
"build-esm": "BABEL_ENV=esm babel src --out-dir esm --source-maps inline",
"build-standalone": "BABEL_ENV=esm webpack",
"build": "concurrently --names 'commonjs,esm,standalone' 'yarn run build-commonjs' 'yarn run build-esm' 'yarn run build-standalone'",
"clean": "rm -rf commonjs esm standalone",
"deploy-storybook": "storybook-to-ghpages",
"standalone-hash": "shasum -b -a 256 standalone/consent-manager.js | xxd -r -p | base64"
},
"dependencies": {
"@segment/top-domain": "^3.0.0",
"babel-runtime": "^6.26.0",
"emotion": "^9.1.2",
"isomorphic-fetch": "^2.2.1",
"js-cookie": "^2.2.0",
"lodash": "^4.17.5",
"nanoid": "^1.0.2",
"prop-types": "^15.6.1",
"react-emotion": "^9.1.2"
},
"devDependencies": {
"@segment/in-eu": "^0.2.1",
"@storybook/addon-options": "^3.4.1",
"@storybook/react": "^3.4.0",
"@storybook/storybook-deployer": "^2.3.0",
"ava": "^0.25.0",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.4",
"babel-plugin-emotion": "^9.1.2",
"babel-plugin-lodash": "^3.3.2",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"concurrently": "^3.5.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-config-xo-react": "^0.16.0",
"eslint-plugin-react": "^7.7.0",
"evergreen-ui": "^3.0.0",
"husky": "^0.14.3",
"inferno": "^5.0.4",
"inferno-clone-vnode": "^5.0.4",
"inferno-compat": "^5.0.4",
"inferno-create-class": "^5.0.4",
"inferno-create-element": "^5.0.4",
"lint-staged": "^7.0.4",
"lodash-es": "^4.17.10",
"nock": "^9.2.5",
"react": "^16.3.1",
"react-dom": "^16.3.1",
"sinon": "^5.0.7",
"size-limit": "^0.17.0",
"source-map-loader": "^0.2.3",
"webpack": "^4.8.2",
"webpack-cli": "^2.1.3",
"xo": "^0.21.0"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"xo": {
"parser": "babel-eslint",
"extends": "xo-react",
"envs": [
"node",
"browser"
],
"prettier": true,
"space": true,
"semicolon": false
},
"lint-staged": {
"*.js": [
"xo --fix",
"git add"
]
},
"ava": {
"require": [
"babel-register",
"./tools/enzyme-config"
],
"babel": "inherit"
},
"size-limit": [
{
"path": "esm/index.js",
"limit": "44 KB"
},
{
"path": "standalone/consent-manager.js",
"limit": "58 KB"
}
],
"storybook-deployer": {
"gitUsername": "GitHub Pages Bot",
"gitEmail": "[email protected]",
"commitMessage": "Deploy Storybook to GitHub Pages [skip ci]"
}
}