49 lines
1.4 KiB
JSON
49 lines
1.4 KiB
JSON
{
|
|
"name": "@terrace-lang/js",
|
|
"description": "Terrace is a simple structured data syntax for configuration, content authoring, and DSLs.",
|
|
"version": "0.1.1",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/terrace-lang/terrace.git",
|
|
"directory": "packages/js"
|
|
},
|
|
"files": ["dist"],
|
|
"bugs": "https://github.com/terrace-lang/terrace/issues",
|
|
"homepage": "https://terrace-lang.org",
|
|
"types": "./dist/types/index.d.ts",
|
|
"exports": {
|
|
"./*": {
|
|
"types": "./dist/types/*.d.ts",
|
|
"import": "./dist/esm/*.js",
|
|
"require": "./dist/cjs/*.js"
|
|
},
|
|
".": {
|
|
"types": "./dist/types/index.d.ts",
|
|
"import": "./dist/esm/index.js",
|
|
"require": "./dist/cjs/index.js"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "node ./test/index.js",
|
|
"dev": "run-p dev:*",
|
|
"dev:esm": "tsc --watch --project ./tsconfig.esm.json",
|
|
"dev:cjs": "tsc --watch --project ./tsconfig.cjs.json",
|
|
"dev:types": "tsc --watch --project ./tsconfig.types.json",
|
|
"build": "run-p build:*",
|
|
"build:esm": "tsc --project ./tsconfig.esm.json",
|
|
"build:cjs": "tsc --project ./tsconfig.cjs.json",
|
|
"build:types": "tsc --project ./tsconfig.types.json"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.14.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"typescript": "^4.9.5"
|
|
},
|
|
"engines": {
|
|
"node": ">=17.0.0",
|
|
"npm": ">=7.0.0"
|
|
}
|
|
}
|