-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.66 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "@splitscript.js/core",
"version": "3.1.0",
"description": "Core SplitScript.js library",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"import": "./dist/node/esm/index.js",
"require": "./dist/node/cjs/index.js",
"types": "./dist/types/index.d.ts",
"default": "./dist/node/esm/index.js"
}
},
"bin": {
"splitscript": "./dist/cli/run.js"
},
"files": [
"dist",
"CHANGELOG.md",
"README.md"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -fr dist/* && tsc && npm run build:cjs && npm run build:esm && npm run build:cpyesm && npm run build:cli",
"build:cjs": "esbuild `find src/node -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='cjs' --outdir='dist/node/cjs'",
"build:esm": "esbuild `find src/node -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='esm' --outdir='dist/node/esm'",
"build:cpyesm": "cp src/esmpackage.json dist/node/esm/package.json",
"build:cli": "bash buildbinary.sh && cp src/cli/run.js dist/cli/run.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/splitscriptjs/core.git"
},
"author": "Ultraviolet",
"license": "ISC",
"bugs": {
"url": "https://github.com/splitscriptjs/core/issues"
},
"homepage": "https://splitscript.js.org",
"devDependencies": {
"@types/node": "^20.11.25",
"typescript": "^5.4.5"
},
"dependencies": {
"actual.require.main.filename": "^1.0.0",
"ansi-colors": "^4.1.3",
"esbuild": "0.17",
"glob": "^10.2.2"
},
"prettier": {
"semi": false,
"singleQuote": true,
"useTabs": true,
"bracketSpacing": true,
"arrowParens": "always",
"trailingComma": "none"
}
}