@abtasty/promotional-banner 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,39 +1,37 @@
1
1
  {
2
- "name": "@abtasty/promotional-banner",
3
- "description": "Allow you to add a promonional banner on you website",
4
- "version": "1.4.5",
5
- "form": "dist/form.js",
6
- "main": "dist/main.js",
7
- "files": [
8
- "dist"
9
- ],
10
- "repository": "https://gitlab.com/abtasty/widget/widgets_list/promotional-banner",
11
- "author": "Jonathan Granger",
12
- "license": "MIT",
13
- "scripts": {
14
- "watch": "rollup -c --watch",
15
- "build": "rollup -c",
16
- "update:utils": "npm install @abtasty/widget-utils@latest",
17
- "publish:qa": "npm run build && npm version prerelease && npm publish",
18
- "publish:patch": "npm run build && npm version patch && npm publish"
19
- },
20
- "devDependencies": {
21
- "@babel/core": "^7.18.5",
22
- "@babel/eslint-parser": "7.18.2",
23
- "@babel/plugin-proposal-object-rest-spread": "^7.18.0",
24
- "@babel/preset-env": "^7.18.2",
25
- "@rollup/plugin-babel": "^5.3.1",
26
- "@rollup/plugin-node-resolve": "^13.3.0",
27
- "babel-plugin-minify-dead-code-elimination": "^0.5.2",
28
- "eslint": "^8.18.0",
29
- "eslint-config-prettier": "^8.5.0",
30
- "eslint-import-resolver-node": "^0.3.6",
31
- "eslint-plugin-import": "^2.26.0",
32
- "rollup": "^2.75.7",
33
- "rollup-plugin-eslint": "^7.0.0",
34
- "rollup-plugin-terser": "^7.0.0"
35
- },
36
- "dependencies": {
37
- "@abtasty/widget-utils": "^1.18.37"
38
- }
2
+ "name": "@abtasty/promotional-banner",
3
+ "description": "Allow you to add a promonional banner on you website",
4
+ "version": "1.4.6",
5
+ "form": "dist/form.js",
6
+ "main": "dist/main.js",
7
+ "type": "module",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "author": "ABTasty",
12
+ "license": "MIT",
13
+ "scripts": {
14
+ "cloneConfig": "scp ../rollup.default.config.js ./rollup.config.js && scp ../babel.default.config.json ./babel.config.json",
15
+ "watch": "yarn run cloneConfig && rollup -c --watch",
16
+ "build": "yarn run cloneConfig && rollup -c"
17
+ },
18
+ "devDependencies": {
19
+ "@babel/core": "^7.20.5",
20
+ "@babel/eslint-parser": "^7.19.1",
21
+ "@babel/plugin-proposal-object-rest-spread": "^7.18.6",
22
+ "@babel/preset-env": "^7.19.3",
23
+ "@rollup/plugin-babel": "^6.0.3",
24
+ "@rollup/plugin-eslint": "^9.0.1",
25
+ "@rollup/plugin-node-resolve": "^15.0.1",
26
+ "@rollup/plugin-terser": "^0.1.0",
27
+ "babel-plugin-minify-dead-code-elimination": "^0.5.2",
28
+ "eslint": "^8.28.0",
29
+ "eslint-config-prettier": "^8.5.0",
30
+ "eslint-import-resolver-node": "^0.3.2",
31
+ "eslint-plugin-import": "^2.26.0",
32
+ "rollup": "^3.5.0"
33
+ },
34
+ "dependencies": {
35
+ "@abtasty/widget-utils": "0.0.0"
36
+ }
39
37
  }
package/README.md DELETED
@@ -1,49 +0,0 @@
1
- # AB-tasty promotional-banner
2
-
3
- This widget was generated using AB Tasty Widget CLI. You can find more infomation and documentation about widgets at https://abtasty.gitbooks.io/widget/.
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
-
19
- You can specify each file location in the `package.json` like this:
20
- ```json
21
- "main": "dist/main.js",
22
- "form": "dist/form.js",
23
- ```
24
-
25
- ## Included
26
-
27
- * [Rollup.js](https://rollupjs.org/) module bundler (like Webpack but smaller and faster).
28
- * ES6 support using [Babel](https://babeljs.io/).
29
- * JavaScript Linting with [ESLint](http://eslint.org/) and [Airbnb style](https://github.com/airbnb/javascript).
30
- * JavaScript minified with [UglifyJS](https://github.com/mishoo/UglifyJS2).
31
- * [Prettier](https://prettier.io/) to format code.
32
-
33
-
34
-
35
- **We heard your widget have an UI, so we allowed ourselves to include some extra:**
36
- * [Pug](https://github.com/aMarCruz/rollup-plugin-pug) (aka Jade) to transforms html files into JS template.
37
- * [PostCSS](https://github.com/egoist/rollup-plugin-postcss) to automatically append your CSS to head just using `import 'yourstyle.css'` and also use CSS plugins including:
38
- * [CSSnext](http://cssnext.io/) to use the latest CSS syntax today.
39
- * [cssnano](http://cssnano.co/) to minify CSS.
40
-
41
-
42
-
43
- ## Add your widget to AB Tasty
44
-
45
- 1. First, you'll need to have your widget on NPM:
46
- * Create a minified bundle with `npm run build`
47
- * Bump the version of your widget ([using semver](http://semver.org/)) with `npm version [patch|minor|major]`
48
- * Publish it to NPM: `npm publish`
49
- 2. Once your widget is on NPM, you can now add it on AB Tasty at https://marketplace.abtasty.com/publish.