-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2 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
{
"name": "get-consent",
"version": "1.5.1",
"description": "GDPR consent string fetcher",
"main": "dist/get-consent.min.js",
"scripts": {
"build": "webpack --mode production --config webpack.config.js && webpack --mode development --config webpack.config.js",
"dev": "webpack --mode development --config webpack.config.js",
"docs": "jsdoc2md --files source/**/*.js > API.md",
"format": "prettier --write '{source,__tests__}/**/*.js'",
"precommit": "lint-staged",
"prepare": "npm run build",
"test": "npm run test:specs && npm run test:format",
"test:format": "prettier-check '{source,__tests__}/**/*.js'",
"test:specs": "jest",
"test:specs:watch": "jest --watchAll"
},
"files": [
"dist/**/*.js",
"API.md"
],
"lint-staged": {
"{source,__tests__}/**/*.js": [
"prettier --write",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js"
],
"moduleDirectories": [
"node_modules",
"source"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/.history"
],
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Kiosked/get-consent.git"
},
"keywords": [
"gdpr",
"consent",
"cmp",
"cmpstring",
"consentstring"
],
"author": "Perry Mitchell <perry@kiosked.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/Kiosked/get-consent/issues"
},
"homepage": "https://github.com/Kiosked/get-consent#readme",
"devDependencies": {
"@babel/core": "^7.7.7",
"@babel/plugin-transform-modules-commonjs": "^7.7.5",
"@babel/preset-env": "^7.7.7",
"babel-jest": "^24.9.0",
"babel-loader": "^8.0.6",
"husky": "^3.1.0",
"jest": "^24.9.0",
"jsdoc-to-markdown": "^5.0.3",
"lint-staged": "^9.5.0",
"prettier": "^1.19.1",
"prettier-check": "^2.0.0",
"sinon": "^8.0.1",
"sleep-promise": "^8.0.1",
"webpack": "^4.41.4",
"webpack-cli": "^3.3.10"
}
}