-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
105 lines (105 loc) · 2.35 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
{
"name": "snowplow-analytics-sdk",
"version": "0.3.1",
"description": "Snowplow JavaScript and TypeScript Analytics SDK",
"keywords": [
"snowplow",
"sdk",
"typescript"
],
"author": "Michael Dokolin <m@dokol.in>",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/snowplow-incubator/snowplow-js-analytics-sdk"
},
"bugs": {
"url": "https://github.com/snowplow-incubator/snowplow-js-analytics-sdk/issues"
},
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"scripts": {
"build": "rollup -c",
"lint": "eslint --ext .ts src/",
"prepare": "$npm_execpath run build",
"test": "jest --coverage"
},
"engines": {
"node": ">=6.4.0"
},
"devDependencies": {
"@types/jest": "^27.0",
"@typescript-eslint/eslint-plugin": "^5.0",
"@typescript-eslint/parser": "^5.0",
"eslint": "^7.32",
"eslint-config-airbnb": "^18.2",
"eslint-config-prettier": "^8.3",
"eslint-import-resolver-typescript": "^2.5",
"eslint-plugin-import": "^2.25",
"eslint-plugin-prettier": "^4.0",
"jest": "^27.2",
"prettier": "^2.4",
"rollup": "^2.58",
"rollup-plugin-dts": "^4.0",
"rollup-plugin-typescript2": "^0.30",
"ts-jest": "^27.0",
"typescript": "^4.4"
},
"eslintConfig": {
"root": true,
"extends": [
"airbnb/base",
"prettier"
],
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
]
}
],
"plugins": [
"prettier"
],
"rules": {
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
],
"import/prefer-default-export": "off",
"prettier/prettier": [
"warn",
{
"arrowParens": "always",
"printWidth": 120,
"singleQuote": true,
"trailingComma": "all"
}
]
},
"settings": {
"import/resolver": {
"eslint-import-resolver-typescript": true
}
}
},
"jest": {
"preset": "ts-jest"
}
}