forked from strawdynamics/luminous
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
191 lines (191 loc) · 5.77 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
{
"name": "luminous-lightbox",
"version": "2.4.0",
"description": "A simple, lightweight, no-dependencies JavaScript image lightbox.",
"repository": {
"type": "git",
"url": "git+https://github.com/imgix/luminous.git"
},
"keywords": [
"javascript",
"lightbox"
],
"author": "imgix",
"license": "BSD-2",
"bugs": {
"url": "https://github.com/imgix/luminous/issues"
},
"homepage": "https://github.com/imgix/luminous#readme",
"contributors": [
"Frederick Fogerty <[email protected]> (https://github.com/frederickfogerty)",
"Jakub Duras <[email protected]> (https://duras.me)",
"Gwendolen Lynch <[email protected]> (https://github.com/GwendolenLynch)"
],
"main": "lib/lum.js",
"module": "es/lum.js",
"jsnext:main": "es/lum.js",
"scripts": {
"build": "npm run clean && run-p build:css:** build:js:**",
"build:serial": "npm run clean && run-s build:css:** build:js:**",
"build:css:dev": "mkdir -p dist && cp src/css/luminous-basic.css dist/",
"build:css:prod": "mkdir -p dist && postcss src/css/luminous-basic.css > dist/luminous-basic.min.css",
"build:js:dist:prod": "webpack --env build && cp dist/luminous.min.js dist/luminous.js",
"build:js:lib:commonjs": "cross-env BABEL_ENV=commonjs babel src/js --out-dir lib --source-maps",
"build:js:lib:es": "cross-env BABEL_ENV=es babel src/js --out-dir es --source-maps",
"build:watch": "webpack --progress --colors --watch --env dev",
"clean": "rimraf lib es dist",
"dev": "npm run build:watch",
"format:check": "prettier --list-different \"{src,test}/**/*.js\"",
"format": "prettier --write \"{src,test}/**/*.js\"",
"prepare": "npm run build",
"prepublishOnly": "npm run build",
"release": "npm run build && git add dist src/js/Luminous.js && standard-version -a",
"start": "npm run dev",
"test:watch": "karma start config/karma/karma-local.config.js",
"test:local": "karma start config/karma/karma-local.config.js --singleRun",
"test:ci": "karma start config/karma/karma-ci.config.js --singleRun",
"test": "npm run test:local",
"lint": "eslint \"{src,test}/**/*.js\"",
"release:dryRun": "npx node-env-run --exec 'semantic-release --dryRun'",
"release:publish": "semantic-release"
},
"devDependencies": {
"@babel/cli": "7.20.7",
"@babel/core": "7.20.7",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.20.2",
"@google/semantic-release-replace-plugin": "1.2.0",
"@semantic-release/changelog": "6.0.2",
"@semantic-release/commit-analyzer": "9.0.2",
"@semantic-release/git": "10.0.1",
"@semantic-release/github": "8.0.7",
"@semantic-release/npm": "9.0.1",
"babel-eslint": "10.1.0",
"babel-loader": "8.2.4",
"babel-preset-env": "7.0.0-beta.3",
"chai": "4.3.7",
"closure-webpack-plugin": "2.5.0",
"cross-env": "7.0.3",
"cssnano": "5.1.14",
"cssnano-preset-advanced": "5.3.9",
"eslint": "7.32.0",
"eslint-config-google": "0.14.0",
"eslint-config-prettier": "8.5.0",
"google-closure-compiler-js": "20200719.0.0",
"jasmine-core": "4.4.0",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-firefox-launcher": "2.1.2",
"karma-jasmine": "4.0.2",
"karma-webpack": "4.0.2",
"npm-run-all": "4.1.5",
"postcss": "8.4.20",
"postcss-banner": "4.0.1",
"postcss-cli": "9.1.0",
"prettier": "2.7.1",
"rimraf": "3.0.2",
"semantic-release": "19.0.5",
"standard-version": "9.3.2",
"webpack": "4.46.0",
"webpack-cli": "4.9.2",
"webpack-closure-compiler": "2.1.6",
"yargs": "17.5.1"
},
"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/js/Luminous.js"
],
"from": "this.VERSION = \".*\"",
"to": "this.VERSION = \"${nextRelease.version}\"",
"results": [
{
"file": "src/js/Luminous.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/Luminous.min.js",
"label": "Minified build"
},
{
"path": "dist/Luminous.js",
"label": "Standard build"
},
{
"path": "dist/luminous-basic.css",
"label": "CSS"
},
{
"path": "dist/luminous-basic.min.css",
"label": "Minified CSS"
}
]
}
]
]
},
"browserslist": [
"ie 11",
"last 2 edge versions",
"last 2 Chrome versions",
"last 2 Firefox versions",
"last 2 Safari versions",
"last 2 iOS versions",
"last 2 Android versions"
],
"files": [
"bower.json",
"CHANGELOG.md",
"dist",
"lib",
"es"
]
}