-
Notifications
You must be signed in to change notification settings - Fork 61
/
package.json
139 lines (139 loc) · 4.24 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
130
131
132
133
134
135
136
137
138
139
{
"name": "imgix.js",
"version": "4.0.1",
"description": "imgix.js is a dependency-free JavaScript library that allows you to easily use the imgix API to make images on your site or app responsive to device size and pixel density. imgix.js allows for intuitive use of imgix features such as text formatting, color palette extraction, color adjustments, effects, and watermarking. imgix.js requires an imgix account to use your own images. Sign up at imgix.com",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "git://github.com/imgix/imgix.js.git"
},
"bugs": {
"url": "https://github.com/imgix/imgix.js/issues"
},
"author": "imgix",
"main": "dist/imgix.js",
"directories": {
"test": "tests"
},
"scripts": {
"start": "npx browser-sync start --server --files '*.html, js/*.js'",
"build": "mkdir -p dist && ./node_modules/browserify/bin/cmd.js ./src/imgix.js > ./dist/imgix.js && ./node_modules/uglify-js/bin/uglifyjs ./dist/imgix.js --mangle > ./dist/imgix.min.js",
"build:watch": "npx nodemon -w src -x 'npm run build'",
"pretty": "prettier --write \"src/**/*.js\" \"spec/**/*.js\"",
"prepare": "npm run build",
"prepublishOnly": "npm run build",
"release": "npm run build && git add dist src/imgix.js && standard-version -a",
"test": "npm run build && ./node_modules/jasmine/bin/jasmine.js & npm run cy:runOnly",
"test:watch": "chokidar \"src/*.js\" \"spec/*.js\" -c \"npm run test\"",
"cy:watch": "npx nodemon -w cypress/integration -w cypress/fixtures -w src -x 'npm run cy:run'",
"cy:runOnly": "cypress run",
"cy:run": "npm run build && cypress run",
"release:dryRun": "npx node-env-run --exec 'semantic-release --dryRun'",
"release:publish": "semantic-release"
},
"devDependencies": {
"@google/semantic-release-replace-plugin": "1.2.7",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/commit-analyzer": "13.0.0",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "10.1.4",
"@semantic-release/npm": "12.0.1",
"@semantic-release/release-notes-generator": "14.0.1",
"atob": "2.1.2",
"browserify": "17.0.0",
"btoa": "1.2.1",
"chokidar-cli": "3.0.0",
"cypress": "13.13.2",
"cypress-audit": "1.1.0",
"cypress-terminal-report": "6.1.2",
"gulp": "5.0.0",
"gulp-rename": "2.0.0",
"gulp-uglify": "3.0.2",
"jasmine": "5.2.0",
"nodemon": "3.1.4",
"prettier": "3.3.3",
"sinon": "18.0.0",
"standard-version": "9.5.0",
"uglify-js": "3.19.2"
},
"dependencies": {
"lodash.debounce": "^4.0.8"
},
"files": [
"dist",
"src"
],
"release": {
"branches": [
"main",
{
"name": "next",
"prerelease": "rc"
},
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@google/semantic-release-replace-plugin",
{
"replacements": [
{
"files": [
"src/imgix.js"
],
"from": "var VERSION = '.*'",
"to": "var VERSION = '${nextRelease.version}'",
"results": [
{
"file": "src/imgix.js",
"hasChanged": true,
"numMatches": 1,
"numReplacements": 1
}
],
"countMatches": true
}
]
}
],
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"src/**",
"dist/**",
"package.json",
"changelog.md"
],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes} [skip ci]"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist/imgix.js",
"label": "Standard build"
},
{
"path": "dist/imgix.min.js",
"label": "Minified build"
}
]
}
]
]
}
}