@pinegrow/vite-plugin 2.0.0-alpha.1 → 2.0.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,60 @@
1
+ /*!
2
+ * fill-range <https://github.com/jonschlinkert/fill-range>
3
+ *
4
+ * Copyright (c) 2014-present, Jon Schlinkert.
5
+ * Licensed under the MIT License.
6
+ */
7
+
8
+ /*!
9
+ * is-extglob <https://github.com/jonschlinkert/is-extglob>
10
+ *
11
+ * Copyright (c) 2014-2016, Jon Schlinkert.
12
+ * Licensed under the MIT License.
13
+ */
14
+
15
+ /*!
16
+ * is-glob <https://github.com/jonschlinkert/is-glob>
17
+ *
18
+ * Copyright (c) 2014-2017, Jon Schlinkert.
19
+ * Released under the MIT License.
20
+ */
21
+
22
+ /*!
23
+ * is-number <https://github.com/jonschlinkert/is-number>
24
+ *
25
+ * Copyright (c) 2014-present, Jon Schlinkert.
26
+ * Released under the MIT License.
27
+ */
28
+
29
+ /*!
30
+ * normalize-path <https://github.com/jonschlinkert/normalize-path>
31
+ *
32
+ * Copyright (c) 2014-2018, Jon Schlinkert.
33
+ * Released under the MIT License.
34
+ */
35
+
36
+ /*!
37
+ * to-regex-range <https://github.com/micromatch/to-regex-range>
38
+ *
39
+ * Copyright (c) 2015-present, Jon Schlinkert.
40
+ * Released under the MIT License.
41
+ */
42
+
43
+ /*! https://mths.be/he v1.2.0 by @mathias | MIT license */
44
+
45
+ /*! https://mths.be/utf8js v2.1.2 by @mathias */
46
+
47
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
48
+
49
+ /**
50
+ * Wrapper for built-in http.js to emulate the browser XMLHttpRequest object.
51
+ *
52
+ * This can be used with JS designed for browsers to improve reuse of code and
53
+ * allow the use of existing libraries.
54
+ *
55
+ * Usage: include("XMLHttpRequest.js") and use XMLHttpRequest per W3C specs.
56
+ *
57
+ * @author Dan DeFelippi <dan@driverdan.com>
58
+ * @contributor David Ellis <d.f.ellis@ieee.org>
59
+ * @license MIT
60
+ */
package/package.json CHANGED
@@ -1,8 +1,22 @@
1
1
  {
2
2
  "name": "@pinegrow/vite-plugin",
3
- "version": "2.0.0-alpha.1",
3
+ "version": "2.0.0-alpha.4",
4
4
  "description": "Pinegrow Vite Plugin that enables connection and interaction between Pinegrow and Vite dev-server",
5
- "main": "./dist/index.js",
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "main": "./dist/index.cjs",
10
+ "module": "./dist/index.cjs",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.cjs",
14
+ "require": "./dist/index.cjs"
15
+ },
16
+ "./dev": {
17
+ "import": "./plugins/index.js"
18
+ }
19
+ },
6
20
  "keywords": [
7
21
  "pinegrow",
8
22
  "vite plugin"
@@ -10,9 +24,17 @@
10
24
  "author": "Pinegrow (http://pinegrow.com/)",
11
25
  "license": "MIT",
12
26
  "scripts": {
27
+ "build": "webpack -- --env mode=production",
28
+ "build:dev": "webpack -- --env mode=development",
29
+ "preview": "webpack serve -- --env mode=production",
13
30
  "publish-alpha": "npm run increment-alpha-version && npm publish",
14
31
  "increment-alpha-version": "npm version prerelease --preid=alpha",
15
32
  "publish-beta": "npm run increment-beta-version && npm publish",
16
33
  "increment-beta-version": "npm version prerelease --preid=beta"
34
+ },
35
+ "dependencies": {
36
+ "chokidar": "^3.5.2",
37
+ "node-html-parser": "^5.2.0",
38
+ "socket.io-client": "^2.1.1"
17
39
  }
18
40
  }