-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
90 lines (90 loc) · 3.61 KB
/
package.json
File metadata and controls
90 lines (90 loc) · 3.61 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
{
"name": "@constructor-io/constructorio-client-javascript",
"version": "2.76.1",
"description": "Constructor.io JavaScript client",
"main": "lib/constructorio.js",
"types": "lib/types/index.d.ts",
"scripts": {
"clean": "sudo rm -rf node_modules package-lock.json",
"version": "node ./src/generateVersion.js && npm run docs && git add ./docs/* && npm run bundle && git add -A ./dist && git add ./src/version.js",
"check-license": "license-checker --production --onlyAllow 'Apache-2.0;BSD-3-Clause;MIT;0BSD;BSD-2-Clause'",
"lint": "eslint 'src/**/*.js' 'spec/**/*.js' 'src/**/*.d.ts'",
"pretest": "npm run compile && npm run generate-test-folder",
"test": "mocha --retries 3 ./spec/*",
"test:types": "tsd .",
"test:parallel": "npm run pretest && mocha --parallel --retries 3 ./spec/*",
"test:src": "mkdir -p test && cp -rf src/* test && mocha --retries 3 ./spec/*",
"test:src:parallel": "mkdir -p test && cp -rf src/* test && mocha --parallel --retries 3 ./spec/*",
"test:bundled": "npm run bundle && npm run generate-test-folder && BUNDLED=true PACKAGE_VERSION=$(echo $npm_package_version) mocha --retries 3 ./spec/*",
"test:bundled:parallel": "npm run bundle && npm run generate-test-folder && BUNDLED=true PACKAGE_VERSION=$(echo $npm_package_version) mocha --parallel --retries 3 ./spec/*",
"test:all": "npm run test && npm run test:bundled",
"test:all:parallel": "npm run test:parallel && npm run test:bundled:parallel",
"precoverage": "rm -rf ./coverage && rm -rf ./.nyc_output",
"coverage": "nyc --all --reporter=html npm run test:src",
"postcoverage": "open coverage/index.html && rm -rf test",
"docs": "jsdoc --configure ./.jsdoc.json ./README.md --recurse ./src --destination ./docs",
"compile": "rm -rf ./lib/* && babel src/ -d lib/ --copy-files && rm -rf ./lib/types/tests",
"prepublish": "npm run compile",
"bundle": "rm -rf ./dist/* && npm run compile && node bundle.js",
"prepare": "husky install",
"generate-test-folder": "mkdir -p test && cp -rf lib/* test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Constructor-io/constructorio-client-javascript.git"
},
"author": "Constructor.io Corporation",
"license": "MIT",
"bugs": {
"url": "https://github.com/Constructor-io/constructorio-client-javascript/issues"
},
"homepage": "https://github.com/Constructor-io/constructorio-client-javascript#readme",
"files": [
"lib/**/*"
],
"devDependencies": {
"@babel/cli": "^7.15.7",
"@babel/core": "^7.15.8",
"@babel/plugin-transform-runtime": "^7.16.4",
"@babel/preset-env": "^7.15.8",
"@babel/register": "^7.15.3",
"@cspell/eslint-plugin": "^6.8.2",
"@typescript-eslint/eslint-plugin": "^5.48.1",
"@typescript-eslint/parser": "^5.48.1",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"docdash": "^2.0.1",
"dotenv": "^8.6.0",
"esbuild": "^0.25.0",
"eslint": "^8.17.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.2",
"eventsource": "^2.0.2",
"husky": "^7.0.4",
"jsdoc": "^4.0.2",
"jsdom": "^28.1.0",
"license-checker": "^25.0.1",
"lodash.clonedeep": "^4.5.0",
"mocha": "^11.1.0",
"nyc": "^15.1.0",
"qs": "^6.11.0",
"sinon": "^7.5.0",
"sinon-chai": "^3.7.0",
"tsd": "^0.24.1",
"web-streams-polyfill": "^4.0.0"
},
"dependencies": {
"@constructor-io/constructorio-id": "^2.6.0",
"crc-32": "^1.2.2"
},
"peerDependencies": {
"@babel/runtime": "^7.19.0"
},
"tsd": {
"directory": "src/types/tests"
},
"volta": {
"node": "22.18.0",
"npm": "11.0.0"
}
}