oakscriptjs 0.2.7 → 0.2.8
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/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oakscriptjs",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "PineScript v6 compatible technical analysis library for JavaScript/TypeScript",
|
|
6
|
-
"main": "dist/index.
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
8
8
|
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/index.d.ts",
|
|
12
12
|
"import": "./dist/index.mjs",
|
|
13
|
-
"require": "./dist/index.
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
14
|
},
|
|
15
15
|
"./runtime": {
|
|
16
16
|
"types": "./dist/runtime/index.d.ts",
|
|
17
17
|
"import": "./dist/runtime/index.mjs",
|
|
18
|
-
"require": "./dist/runtime/index.
|
|
18
|
+
"require": "./dist/runtime/index.cjs"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"prepublishOnly": "npm run build",
|
|
28
28
|
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:runtime:esm && npm run build:runtime:cjs && npm run build:types",
|
|
29
29
|
"build:esm": "esbuild src/index.ts --bundle --format=esm --outfile=dist/index.mjs --platform=neutral --external:@types/* --external:lightweight-charts",
|
|
30
|
-
"build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=dist/index.
|
|
30
|
+
"build:cjs": "esbuild src/index.ts --bundle --format=cjs --outfile=dist/index.cjs --platform=neutral --external:@types/* --external:lightweight-charts",
|
|
31
31
|
"build:runtime:esm": "esbuild src/runtime/index.ts --bundle --format=esm --outfile=dist/runtime/index.mjs --platform=neutral --external:@types/* --external:lightweight-charts",
|
|
32
|
-
"build:runtime:cjs": "esbuild src/runtime/index.ts --bundle --format=cjs --outfile=dist/runtime/index.
|
|
32
|
+
"build:runtime:cjs": "esbuild src/runtime/index.ts --bundle --format=cjs --outfile=dist/runtime/index.cjs --platform=neutral --external:@types/* --external:lightweight-charts",
|
|
33
33
|
"build:types": "tsc --emitDeclarationOnly --outDir dist",
|
|
34
34
|
"clean": "rimraf dist",
|
|
35
35
|
"dev": "tsc --watch",
|
|
File without changes
|
|
File without changes
|