-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 3.51 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "tricks",
"version": "2.1.0",
"description": "ES6 modules",
"modules": "index.js",
"type": "module",
"main": "index.js",
"engines": {
"node": ">=16"
},
"scripts": {
"docs": "jsdoc2md ./object/**/*.js ./array/**/*.js ./string/**/*.js > docs/README.md",
"lint": "eslint ./",
"lint-diff": "LIST=`git diff-index --diff-filter=d --name-only HEAD | grep '.*\\.js$';`; if [ \"$LIST\" ]; then eslint $LIST; fi",
"lint-diff-fix": "LIST=`git diff-index --diff-filter=d --name-only HEAD | grep '.*\\.js$';`; if [ \"$LIST\" ]; then eslint --fix $LIST; fi",
"semantic-release": "semantic-release -d false",
"test": "npm run lint && npm run test:node && npm run test:browser",
"test:browser": "gulp",
"test:node": "mocha ./test/specs/{array,time,object,string,http}/*.js",
"test:spawn": "node_modules/.bin/browserstack-runner",
"test:deploy": "npm test && npm run test:spawn",
"test:spawn-local": "env $(cat .env | xargs) npm run test:spawn"
},
"files": [
"**/*.js",
"!test",
"!docs",
"!gulpfile.js",
"!.git"
],
"repository": {
"type": "git",
"url": "https://github.com/MrSwitch/tricks.git"
},
"keywords": [
"Es6",
"modules"
],
"author": "Andrew Dodson",
"license": "ISC",
"bugs": {
"url": "https://github.com/MrSwitch/tricks/issues"
},
"browserify": {
"transform": [
[
"babelify",
{
"presets": [
"@babel/preset-env"
]
}
]
]
},
"browser": {
"./http/getScript.js": "./browser/http/getScript.js",
"./http/json.js": "./browser/http/json.js",
"./http/jsonp.js": "./browser/http/jsonp.js",
"./http/request.js": "./browser/http/request.js",
"./http/sendBeacon.js": "./browser/http/sendBeacon.js",
"./test/stubs/http.js": "./test/stubs/xhr.js"
},
"homepage": "https://github.com/MrSwitch/tricks",
"devDependencies": {
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@semantic-release/changelog": "^6.0.2",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"browserstack-runner": "^0.9.4",
"core-js": "^3.29.1",
"eslint": "^8.36.0",
"eslint-config-5app": "^0.19.0",
"eslint-plugin-jsdoc": "^50.0.0",
"eslint-plugin-node": "^11.1.0",
"expect.js": "^0.3.1",
"glob": "^9.3.0",
"gulp": "^5.0.0",
"gulp-mocha-phantomjs": "^0.12.2",
"gulp-sourcemaps": "^3.0.0",
"gulp-util": "^3.0.8",
"jsdoc": "^4.0.2",
"jsdoc-to-markdown": "^9.0.0",
"localhost": "^0.4.1",
"mocha": "^11.0.0",
"semantic-release": "^22.0.0",
"sinon": "^19.0.0",
"vinyl-buffer": "^1.0.1",
"vinyl-source-stream": "^2.0.0"
},
"release": {
"branches": [
"main",
{
"name": "next",
"channel": "next",
"prerelease": "rc"
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"prepareCmd": "npm run docs"
}
],
[
"@semantic-release/git",
{
"assets": [
"docs",
"package.json",
"package-lock.json",
"CHANGELOG.md"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
}
}