mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-18 12:13:58 +00:00
fix(tsconfig): remove duplicate compiler options
- Remove duplicate allowSyntheticDefaultImports (lines 16 & 42) - Remove duplicate skipLibCheck (lines 18 & 46) - Add TypeScript source files for npm package migration - Verify build pipeline works (42/42 tests pass)
This commit is contained in:
1 parent
fd8fec20d7
commit
77d026869e
37 files changed
+6813
-200
No files matched your search
+13
-6
@@ -23,11 +23,13 @@
|
||||
"name": "Tam Nhu Tran (Kai)",
|
||||
"email": "kaitranntt@users.noreply.github.com"
|
||||
},
|
||||
"main": "dist/ccs.js",
|
||||
"types": "dist/ccs.d.ts",
|
||||
"bin": {
|
||||
"ccs": "bin/ccs.js"
|
||||
"ccs": "dist/ccs.js"
|
||||
},
|
||||
"files": [
|
||||
"bin/",
|
||||
"dist/",
|
||||
"lib/",
|
||||
"scripts/",
|
||||
"config/",
|
||||
@@ -46,14 +48,17 @@
|
||||
],
|
||||
"preferGlobal": true,
|
||||
"scripts": {
|
||||
"test": "npm run test:all",
|
||||
"build": "tsc && node scripts/add-shebang.js",
|
||||
"build:watch": "tsc --watch",
|
||||
"prebuild": "rm -rf dist",
|
||||
"test": "npm run build && npm run test:all",
|
||||
"test:all": "npm run test:unit && npm run test:npm",
|
||||
"test:unit": "npx mocha tests/shared/unit/**/*.test.js --timeout 5000",
|
||||
"test:npm": "npx mocha tests/npm/**/*.test.js --timeout 10000",
|
||||
"test:native": "bash tests/native/unix/edge-cases.sh",
|
||||
"test:edge-cases": "bash tests/edge-cases.sh",
|
||||
"prepublishOnly": "node scripts/sync-version.js",
|
||||
"prepack": "node scripts/sync-version.js",
|
||||
"prepublishOnly": "npm run build && node scripts/sync-version.js",
|
||||
"prepack": "npm run build && node scripts/sync-version.js",
|
||||
"prepare": "node scripts/check-executables.js",
|
||||
"postinstall": "node scripts/postinstall.js"
|
||||
},
|
||||
@@ -62,6 +67,8 @@
|
||||
"ora": "^9.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mocha": "^11.7.5"
|
||||
"@types/node": "^20.19.25",
|
||||
"mocha": "^11.7.5",
|
||||
"typescript": "5.3"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user