@abtasty/popin-image 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abtasty/popin-image",
3
3
  "description": "A simple way to create a modal with an image in it",
4
- "version": "1.0.3",
4
+ "version": "1.0.4",
5
5
  "main": "dist/main.js",
6
6
  "form": "dist/form.js",
7
7
  "files": [
@@ -14,9 +14,7 @@
14
14
  "start": "concurrently --kill-others \"npm run watch\" \"npm run serve\"",
15
15
  "watch": "rollup -c --watch",
16
16
  "build": "rollup -c",
17
- "serve": "widget serve",
18
- "prepare": "npm run build",
19
- "postpublish": "echo 'Your widget is on NPM. You can now add your widget to AB Tasty Marketplace at https://marketplace.abtasty.com/add'"
17
+ "serve": "widget serve"
20
18
  },
21
19
  "devDependencies": {
22
20
  "@babel/core": "^7.11.1",
@@ -36,10 +34,10 @@
36
34
  "rollup-plugin-terser": "^7.0.0"
37
35
  },
38
36
  "dependencies": {
39
- "@abtasty/widget-utils": "1.16.24",
37
+ "@abtasty/widget-utils": "1.16.23",
40
38
  "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
41
39
  "@rollup/plugin-commonjs": "^12.0.0",
42
40
  "@rollup/plugin-node-resolve": "^8.4.0",
43
41
  "babel-eslint": "^10.0.3"
44
42
  }
45
- }
43
+ }
package/README.md DELETED
@@ -1,44 +0,0 @@
1
- # Popin Image
2
-
3
- A simple popin displaying image and content
4
-
5
- ## Preview your widget
6
-
7
- Launch your widget in a new window and watch for changes.
8
- ```bash
9
- npm start
10
- ```
11
-
12
- ## Main files
13
-
14
- * `main.js`
15
- Main source code of your widget
16
- * `form.js`
17
- Configuration form for your widget
18
- * `icon.png`
19
- Icon for your widget (recommended size: 200x200px)
20
-
21
- You can specify each file location in the `package.json` like this:
22
- ```json
23
- "main": "dist/main.js",
24
- "form": "dist/form.js",
25
- "icon": "icon.png",
26
- ```
27
-
28
- ## Included
29
-
30
- * [Rollup.js](https://rollupjs.org/) module bundler (like Webpack but smaller and faster).
31
- * ES6 support using [Babel](https://babeljs.io/).
32
- * JavaScript Linting with [ESLint](http://eslint.org/) and [Airbnb style](https://github.com/airbnb/javascript).
33
- * JavaScript minified with [UglifyJS](https://github.com/mishoo/UglifyJS2).
34
- * [Prettier](https://prettier.io/) to format code.
35
-
36
-
37
-
38
- ## Add your widget to AB Tasty
39
-
40
- 1. First, you'll need to have your widget on NPM:
41
- * Create a minified bundle with `npm run build`
42
- * Bump the version of your widget ([using semver](http://semver.org/)) with `npm version [patch|minor|major]`
43
- * Publish it to NPM: `npm publish`
44
- 2. Once your widget is on NPM, you can now add it on AB Tasty at https://marketplace.abtasty.com/publish.