Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 438d7f4

Browse files
committed
adds publish-script and renames to package-name
1 parent dde2181 commit 438d7f4

File tree

2 files changed

+121
-112
lines changed

2 files changed

+121
-112
lines changed

package.json

Lines changed: 110 additions & 112 deletions
Original file line numberDiff line numberDiff line change
@@ -1,116 +1,114 @@
11
{
2-
"name": "blueimp-file-upload",
3-
"version": "10.32.0",
4-
"title": "jQuery File Upload",
5-
"description": "File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.",
6-
"keywords": [
7-
"jquery",
8-
"file",
9-
"upload",
10-
"widget",
11-
"multiple",
12-
"selection",
13-
"drag",
14-
"drop",
15-
"progress",
16-
"preview",
17-
"cross-domain",
18-
"cross-site",
19-
"chunk",
20-
"resume",
21-
"gae",
22-
"go",
23-
"python",
24-
"php",
25-
"bootstrap"
26-
],
27-
"homepage": "https://github.com/blueimp/jQuery-File-Upload",
28-
"author": {
29-
"name": "Sebastian Tschan",
30-
"url": "https://blueimp.net"
31-
},
32-
"repository": {
33-
"type": "git",
34-
"url": "git://github.com/blueimp/jQuery-File-Upload.git"
35-
},
36-
"license": "MIT",
37-
"peerDependencies": {
38-
"jquery": ">=1.7"
39-
},
40-
"optionalDependencies": {
41-
"blueimp-canvas-to-blob": "3",
42-
"blueimp-load-image": "5",
43-
"blueimp-tmpl": "3"
44-
},
45-
"devDependencies": {
46-
"eslint": "7",
47-
"eslint-config-blueimp": "2",
48-
"eslint-config-prettier": "8",
49-
"eslint-plugin-jsdoc": "36",
50-
"eslint-plugin-prettier": "4",
51-
"prettier": "2",
52-
"stylelint": "13",
53-
"stylelint-config-prettier": "8",
54-
"stylelint-config-recommended": "5"
55-
},
56-
"stylelint": {
57-
"extends": [
58-
"stylelint-config-recommended",
59-
"stylelint-config-prettier"
2+
"name": "@formcentric/jquery-file-upload",
3+
"version": "10.32.0",
4+
"title": "jQuery File Upload",
5+
"description": "File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.",
6+
"keywords": [
7+
"jquery",
8+
"file",
9+
"upload",
10+
"widget",
11+
"multiple",
12+
"selection",
13+
"drag",
14+
"drop",
15+
"progress",
16+
"preview",
17+
"cross-domain",
18+
"cross-site",
19+
"chunk",
20+
"resume",
21+
"gae",
22+
"go",
23+
"python",
24+
"php",
25+
"bootstrap"
6026
],
61-
"ignoreFiles": [
62-
"css/*.min.css",
63-
"css/vendor/*",
64-
"test/vendor/*"
65-
]
66-
},
67-
"eslintConfig": {
68-
"extends": [
69-
"blueimp",
70-
"plugin:jsdoc/recommended",
71-
"plugin:prettier/recommended"
27+
"homepage": "https://github.com/blueimp/jQuery-File-Upload",
28+
"author": {
29+
"name": "Sebastian Tschan",
30+
"url": "https://blueimp.net"
31+
},
32+
"repository": {
33+
"type": "git",
34+
"url": "git://github.com/Formcentric/jQuery-File-Upload.git"
35+
},
36+
"license": "MIT",
37+
"peerDependencies": {
38+
"jquery": ">=1.7"
39+
},
40+
"optionalDependencies": {
41+
"blueimp-canvas-to-blob": "3",
42+
"blueimp-load-image": "5",
43+
"blueimp-tmpl": "3"
44+
},
45+
"devDependencies": {
46+
"eslint": "7",
47+
"eslint-config-blueimp": "2",
48+
"eslint-config-prettier": "8",
49+
"eslint-plugin-jsdoc": "36",
50+
"eslint-plugin-prettier": "4",
51+
"prettier": "2",
52+
"stylelint": "13",
53+
"stylelint-config-prettier": "8",
54+
"stylelint-config-recommended": "5"
55+
},
56+
"stylelint": {
57+
"extends": [
58+
"stylelint-config-recommended",
59+
"stylelint-config-prettier"
60+
],
61+
"ignoreFiles": [
62+
"css/*.min.css",
63+
"css/vendor/*",
64+
"test/vendor/*"
65+
]
66+
},
67+
"eslintConfig": {
68+
"extends": [
69+
"blueimp",
70+
"plugin:jsdoc/recommended",
71+
"plugin:prettier/recommended"
72+
],
73+
"env": {
74+
"browser": true
75+
}
76+
},
77+
"eslintIgnore": [
78+
"*.min.js",
79+
"test/vendor"
7280
],
73-
"env": {
74-
"browser": true
75-
}
76-
},
77-
"eslintIgnore": [
78-
"*.min.js",
79-
"test/vendor"
80-
],
81-
"prettier": {
82-
"arrowParens": "avoid",
83-
"proseWrap": "always",
84-
"singleQuote": true,
85-
"trailingComma": "none"
86-
},
87-
"scripts": {
88-
"lint": "stylelint '**/*.css' && eslint .",
89-
"unit": "docker-compose run --rm mocha",
90-
"wdio": "docker-compose run --rm wdio",
91-
"test": "npm run lint && npm run unit && npm run wdio && npm run wdio -- conf/firefox.js",
92-
"posttest": "docker-compose down -v",
93-
"preversion": "npm test",
94-
"postversion": "git push --tags origin master && npm publish"
95-
},
96-
"files": [
97-
"css/jquery.fileupload-noscript.css",
98-
"css/jquery.fileupload-ui-noscript.css",
99-
"css/jquery.fileupload-ui.css",
100-
"css/jquery.fileupload.css",
101-
"img/loading.gif",
102-
"img/progressbar.gif",
103-
"js/cors/jquery.postmessage-transport.js",
104-
"js/cors/jquery.xdr-transport.js",
105-
"js/vendor/jquery.ui.widget.js",
106-
"js/jquery.fileupload-audio.js",
107-
"js/jquery.fileupload-image.js",
108-
"js/jquery.fileupload-process.js",
109-
"js/jquery.fileupload-ui.js",
110-
"js/jquery.fileupload-validate.js",
111-
"js/jquery.fileupload-video.js",
112-
"js/jquery.fileupload.js",
113-
"js/jquery.iframe-transport.js"
114-
],
115-
"main": "js/jquery.fileupload.js"
81+
"prettier": {
82+
"arrowParens": "avoid",
83+
"proseWrap": "always",
84+
"singleQuote": true,
85+
"trailingComma": "none"
86+
},
87+
"scripts": {
88+
"lint": "stylelint '**/*.css' && eslint .",
89+
"unit": "docker-compose run --rm mocha",
90+
"wdio": "docker-compose run --rm wdio",
91+
"test": "npm run lint && npm run unit && npm run wdio && npm run wdio -- conf/firefox.js",
92+
"posttest": "docker-compose down -v"
93+
},
94+
"files": [
95+
"css/jquery.fileupload-noscript.css",
96+
"css/jquery.fileupload-ui-noscript.css",
97+
"css/jquery.fileupload-ui.css",
98+
"css/jquery.fileupload.css",
99+
"img/loading.gif",
100+
"img/progressbar.gif",
101+
"js/cors/jquery.postmessage-transport.js",
102+
"js/cors/jquery.xdr-transport.js",
103+
"js/vendor/jquery.ui.widget.js",
104+
"js/jquery.fileupload-audio.js",
105+
"js/jquery.fileupload-image.js",
106+
"js/jquery.fileupload-process.js",
107+
"js/jquery.fileupload-ui.js",
108+
"js/jquery.fileupload-validate.js",
109+
"js/jquery.fileupload-video.js",
110+
"js/jquery.fileupload.js",
111+
"js/jquery.iframe-transport.js"
112+
],
113+
"main": "js/jquery.fileupload.js"
116114
}

publish.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
if [ $# -eq 0 ]
4+
then
5+
echo "Missing npmjs.org OTP for publishing"
6+
exit 1
7+
fi
8+
9+
npm publish --@formcentric:registry=https://registry.npmjs.org --otp=$1
10+
11+
npm publish --@formcentric:registry=https://maven.monday-consulting.com/artifactory/api/npm/formcentric-npm-releases/

0 commit comments

Comments
 (0)