-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
106 lines (106 loc) · 3.1 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
{
"name": "td-js-sdk",
"version": "4.0.2",
"license": "Apache-2.0",
"bugs": "https://github.com/treasure-data/td-js-sdk/issues",
"description": "Browser JS library for sending events to your Treasure Data account",
"main": "lib/treasure.js",
"author": {
"name": "Cesar Andreu",
"email": "cesar@treasure-data.com",
"url": "https://www.treasuredata.com"
},
"repository": {
"type": "git",
"url": "https://github.com/treasure-data/td-js-sdk"
},
"scripts": {
"build": "./bin/build.sh",
"build-dev": "rollup --config rollup-dev.config.js",
"build-prod": "rollup --config rollup-prod.config.js",
"build-loader": "rollup --config rollup-loader.config.js",
"clean": "rm -rf ./dist && mkdir -p ./dist",
"e2e": "node ./bin/e2e.js",
"e2e-prepare": "selenium-standalone install",
"e2e-server": "node ./bin/server.js",
"version": "npm run build && git add README.md dist/td.js dist/td.min.js",
"pretest": "npm run build",
"test": "standard && node ./bin/test.js",
"test-local": "karma start --browsers Chrome,Firefox --concurrency 1",
"docs": "jsdoc2md --configure ./jsdoc-config.json --files ./lib --no-cache --separators --example-lang js --partial ./scope.hbs --partial ./summary.hbs --partial ./global-index.hbs > ./js-sdk-api.md"
},
"standard": {
"ignore": [
"dist"
],
"global": [
"afterEach",
"beforeEach",
"describe",
"it",
"localStorage"
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"greenkeeper": {
"ignore": [
"domready",
"karma",
"mocha"
]
},
"browserslist": [
"chrome >0 and last 2.5 years",
"edge >0 and last 2.5 years",
"safari >0 and last 2.5 years",
"firefox >0 and last 2.5 years",
"and_chr >0 and last 2.5 years",
"and_ff >0 and last 2.5 years",
"ios >0 and last 2.5 years"
],
"devDependencies": {
"@babel/cli": "^7.25.7",
"@babel/core": "^7.25.8",
"@babel/preset-env": "^7.25.8",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"chai": "^4.2.0",
"es6-shim": "^0.35.5",
"expect.js": "^0.3.1",
"express": "^4.14.0",
"glob": "^7.0.5",
"jsdoc-to-markdown": "^7.0.1",
"karma": "^6.3.2",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.0.1",
"karma-min-reporter": "^0.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"karma-rollup-preprocessor": "^7.0.8",
"karma-safari-launcher": "^1.0.0",
"mocha": "^10.2.0",
"mutationobserver-polyfill": "^1.3.0",
"parse-domain": "^2.0.0",
"phantomjs-prebuilt": "^2.1.7",
"requirejs": "^2.2.0",
"rollup": "^4.20.0",
"rollup-plugin-sizes": "^1.0.6",
"selenium-standalone": "^6.23.0",
"simple-mock": "^0.8.0",
"standard": "^17.1.0",
"tape": "^4.6.0"
},
"dependencies": {
"dayjs": "^1.8.34",
"domready": "^0.3.0",
"es6-promise": "^4.2.8",
"global": "^4.3.0",
"lodash-compat": "^3.10.1"
}
}