-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
51 lines (51 loc) · 1.3 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
{
"name": "event-layer",
"version": "0.1.0",
"description": "Configurable event layer for website analytics",
"main": "build/dist/index.js",
"types": "lib/index.d.ts",
"scripts": {
"dev": "parcel lib/index.js -d build/dist --out-file event-layer.js --global EventLayer",
"build": "parcel build lib/index.js -d build/dist --out-file event-layer.js --global EventLayer --detailed-report",
"format": "standard \"src/**/*.js\"",
"test": "jest",
"prepare": "npm run build",
"preversion": "npm run lint",
"report-coverage": "./node_modules/.bin/codecov"
},
"author": "ssarkar@cimpress.com",
"license": "MIT",
"devDependencies": {
"codecov": "^3.6.5",
"jest": "^23.6.0",
"parcel-bundler": "^1.10.3",
"standard": "^12.0.1"
},
"dependencies": {
"lodash": "^4.17.13"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"**/*.{js,jsx}",
"!**/node_modules/**",
"!**/vendor/**",
"!**/build/**"
],
"coverageDirectory": "build/coverage",
"coveragePathIgnorePatterns": [
"adapters"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90
}
},
"testEnvironment": "jsdom",
"testPathIgnorePatterns": [
"adapters"
]
}
}