@shockpkg/core
Version:
shockpkg core
84 lines (83 loc) • 2.98 kB
JSON
{
"name": "@shockpkg/core",
"description": "shockpkg core",
"version": "3.0.8",
"keywords": [
"shockpkg",
"package",
"manager",
"flash",
"shockwave",
"player",
"air",
"sdk"
],
"main": "cjs/index",
"exports": {
".": [
{
"types": "./dts/index.d.ts",
"import": "./esm/index.mjs",
"require": "./cjs/index.js",
"default": "./cjs/index.js"
},
"./cjs/index.js"
]
},
"types": "dts/index.d.ts",
"module": "esm/index.mjs",
"sideEffects": false,
"engines": {
"node": ">=18.12.0"
},
"scripts": {
"clean": "rimraf dts esm cjs spec/tmp",
"lint": "eslint .",
"format": "prettier -w .",
"formatted": "prettier -c .",
"build:dts": "tsc",
"build:esm": "babel --env-name esm -x .ts -s true -d esm --out-file-extension .mjs src",
"build:cjs": "babel --env-name cjs -x .ts -s true -d cjs --out-file-extension .js src",
"build": "npm run build:dts && npm run build:esm && npm run build:cjs",
"test-legacy:esm": "node -r source-map-support/register --test esm",
"test-legacy:cjs": "node -r source-map-support/register --test cjs",
"test-legacy": "npm run test-legacy:esm && npm run test-legacy:cjs",
"test:esm": "node -r source-map-support/register --test 'esm/**/*.test.mjs'",
"test:cjs": "node -r source-map-support/register --test 'cjs/**/*.test.js'",
"test": "npm run test:esm && npm run test:cjs",
"all-legacy:esm": "npm run clean && npm run build:esm && npm run test-legacy:esm && npm run lint && npm run formatted",
"all-legacy:cjs": "npm run clean && npm run build:cjs && npm run test-legacy:cjs && npm run lint && npm run formatted",
"all-legacy": "npm run clean && npm run build && npm run test-legacy && npm run lint && npm run formatted",
"all:esm": "npm run clean && npm run build:esm && npm run test:esm && npm run lint && npm run formatted",
"all:cjs": "npm run clean && npm run build:cjs && npm run test:cjs && npm run lint && npm run formatted",
"all": "npm run clean && npm run build && npm run test && npm run lint && npm run formatted",
"prepack": "npm run clean && npm run build"
},
"repository": "https://github.com/shockpkg/core.git",
"bugs": "https://github.com/shockpkg/core/issues",
"author": "JrMasterModelBuilder",
"copyright": "Copyright (c) 2018-2024 JrMasterModelBuilder",
"license": "MPL-2.0",
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.24.7",
"@eslint/js": "^9.8.0",
"@stylistic/eslint-plugin": "^2.6.1",
"@types/express": "^4.17.21",
"@types/node": "^22.1.0",
"babel-plugin-module-replace": "^1.0.1",
"babel-plugin-search-and-replace": "^1.1.1",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jsdoc": "^48.11.0",
"eslint-plugin-unicorn": "^55.0.0",
"express": "^4.19.2",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"source-map-support": "^0.5.21",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.1"
}
}