@symbo.ls/shorthand 2.34.35 → 3.2.7
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.
- package/dist/esm/decode.js +167 -0
- package/dist/esm/encode.js +166 -0
- package/dist/esm/further.js +250 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/registry.js +592 -0
- package/dist/iife/index.js +1180 -0
- package/package.json +23 -10
- package/dist/cjs/package.json +0 -4
- package/docs/SymbolsProps.md +0 -728
- package/docs/SymbolsPropsAbbr.md +0 -721
package/package.json
CHANGED
|
@@ -2,26 +2,39 @@
|
|
|
2
2
|
"name": "@symbo.ls/shorthand",
|
|
3
3
|
"description": "Shorthand syntax transpiler for Symbols properties",
|
|
4
4
|
"author": "symbo.ls",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "3.2.7",
|
|
6
6
|
"repository": "https://github.com/symbo-ls/smbls",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"module": "
|
|
9
|
-
"main": "
|
|
10
|
-
"exports":
|
|
8
|
+
"module": "./dist/esm/index.js",
|
|
9
|
+
"main": "./dist/cjs/index.js",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"import": "./dist/esm/index.js",
|
|
13
|
+
"require": "./dist/cjs/index.js",
|
|
14
|
+
"browser": "./dist/iife/index.js",
|
|
15
|
+
"default": "./dist/esm/index.js"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
11
18
|
"source": "src/index.js",
|
|
12
19
|
"publishConfig": {},
|
|
13
20
|
"scripts": {
|
|
14
21
|
"test": "node --experimental-vm-modules ../../node_modules/.bin/jest",
|
|
15
22
|
"copy:package:cjs": "cp ../../build/package-cjs.json dist/cjs/package.json",
|
|
16
|
-
"build:cjs": "
|
|
17
|
-
"build": "
|
|
18
|
-
"prepublish": "
|
|
23
|
+
"build:cjs": "cross-env NODE_ENV=$NODE_ENV esbuild src/*.js --target=node18 --format=cjs --outdir=dist/cjs --define:process.env.NODE_ENV=process.env.NODE_ENV",
|
|
24
|
+
"build": "node ../../build/build.js",
|
|
25
|
+
"prepublish": "npm run build && npm run copy:package:cjs",
|
|
26
|
+
"build:esm": "cross-env NODE_ENV=$NODE_ENV esbuild src/*.js --target=es2020 --format=esm --outdir=dist/esm --define:process.env.NODE_ENV=process.env.NODE_ENV",
|
|
27
|
+
"build:iife": "cross-env NODE_ENV=$NODE_ENV esbuild src/index.js --bundle --target=es2020 --format=iife --global-name=SmblsShorthand --outfile=dist/iife/index.js --define:process.env.NODE_ENV=process.env.NODE_ENV"
|
|
19
28
|
},
|
|
20
29
|
"files": [
|
|
21
|
-
"src",
|
|
22
30
|
"dist",
|
|
23
|
-
"
|
|
31
|
+
"*.js",
|
|
32
|
+
"src"
|
|
24
33
|
],
|
|
25
34
|
"license": "ISC",
|
|
26
|
-
"gitHead": "0be12bcdd99c265fdeded6d756a1a3616a943ffc"
|
|
35
|
+
"gitHead": "0be12bcdd99c265fdeded6d756a1a3616a943ffc",
|
|
36
|
+
"browser": "./dist/iife/index.js",
|
|
37
|
+
"unpkg": "./dist/iife/index.js",
|
|
38
|
+
"jsdelivr": "./dist/iife/index.js",
|
|
39
|
+
"sideEffects": false
|
|
27
40
|
}
|
package/dist/cjs/package.json
DELETED