-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
153 lines (153 loc) · 4.33 KB
/
package.json
File metadata and controls
153 lines (153 loc) · 4.33 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "@streamsql/streamsql-js",
"author": "StreamSQL <ethan@streamsql.io>",
"version": "1.0.0",
"license": "MIT",
"description": "StreamSQL's javascript ingestion API",
"main": "streamsql.cjs.js",
"module": "streamsql.esm.js",
"unpkg": "streamsql.min.js",
"types": "streamsql.d.ts",
"private": true,
"scripts": {
"prebuild": "rimraf dist",
"rollup": "rollup -c",
"rollup:test": "rollup --config rollup-test.config.js",
"copy": "copyfiles -f package.json readme.md LICENSE streamsql.d.ts dist && json -I -f dist/package.json -e \"this.private=false; this.devDependencies=undefined; this.optionalDependencies=undefined; this.scripts=undefined; this.prettier=undefined; this.jest=undefined; this.babel=undefined; this.np=undefined; this.publishConfig=undefined;\"",
"build": "npm-run-all --parallel rollup copy",
"prepare": "npm run build",
"serve:test": "cross-env NODE_ENV=test node integration/fixtures/server.js",
"serve:test:ssl": "cross-env-shell NODE_ENV=test USE_SSL=true npm run rollup:test && cross-env USE_SSL=true node integration/fixtures/server.js",
"test": "is-ci \"test:coverage\" \"test:coverage\"",
"test:coverage": "jest",
"test:watch": "jest --watch",
"test:dev": "jest --no-coverage",
"test:ts": "tsc --noEmit",
"test:integration": "cross-env JEST_PUPPETEER_CONFIG=integration/jest-puppeteer.config.js USE_SSL=true jest --config integration/jest-integration.config.js",
"prettier": "prettier --ignore-path .prettierignore \"**/*.+(js|ts)\"",
"format": "npm run prettier -- --write",
"check-format": "npm run prettier --list-different"
},
"config": {
"apiVersion": "v1"
},
"devDependencies": {
"@babel/core": "^7.8.4",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-modules-commonjs": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.4",
"@babel/preset-typescript": "^7.8.3",
"@rollup/plugin-replace": "^2.3.1",
"@types/jest": "^25.1.2",
"babel-jest": "^25.1.0",
"copyfiles": "^2.2.0",
"cross-env": "^7.0.0",
"express": "^4.17.1",
"is-ci-cli": "^2.0.0",
"jest": "^25.1.0",
"jest-puppeteer": "^4.4.0",
"json": "^9.0.6",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"puppeteer": "^2.1.1",
"rimraf": "^3.0.2",
"rollup": "^1.31.0",
"rollup-plugin-babel": "^4.3.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-size-snapshot": "^0.11.0",
"rollup-plugin-terser": "^5.2.0",
"rollup-plugin-uglify": "^6.0.4",
"typescript": "^3.7.5",
"xhr-mock": "^2.5.1"
},
"homepage": "https://streamsql.io/",
"repository": {
"type": "git",
"url": "git+https://github.com/streamsqlio/streamsql-js.git"
},
"keywords": [
"streamsql",
"streamsql-js",
"streamsql-javascript",
"ingestion",
"pixel",
"upload",
"analytics",
"machine learning"
],
"np": {
"contents": "dist"
},
"publishConfig": {
"access": "public"
},
"babel": {
"presets": [
[
"@babel/preset-env",
{
"loose": true,
"modules": false,
"targets": ">1%, not dead, not ie 11, not op_mini all"
}
],
"@babel/preset-typescript"
],
"plugins": [
[
"@babel/plugin-proposal-object-rest-spread",
{
"loose": true
}
],
[
"@babel/plugin-proposal-class-properties",
{
"loose": true
}
]
],
"env": {
"test": {
"plugins": [
"@babel/transform-modules-commonjs"
]
}
}
},
"prettier": {
"semi": false,
"trailingComma": "es5",
"singleQuote": true,
"tabWidth": 2,
"useTabs": false,
"printWidth": 80
},
"jest": {
"testRegex": "test.(ts)$",
"displayName": "unit",
"testEnvironmentOptions": {
"referrer": "https://www.google.com"
},
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"coverageReporters": [
"json",
"html",
"text",
"text-summary"
],
"collectCoverageFrom": [
"src/*.{ts,js}",
"!test/",
"!**/*.d.ts",
"!**/*.umd.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/integration/"
]
}
}