removed pwsh dependency from perks
This commit is contained in:
Родитель
37eb582077
Коммит
f1816859ec
|
@ -22,11 +22,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -10,12 +10,9 @@
|
|||
"eslint": "eslint . --ext .ts",
|
||||
"set-version": "node -e \"let pkg = require('./package.json'); require('child_process').exec('git rev-list --parents HEAD --count --full-history .', (o,stdout) => { const v = pkg.version.split('.'); v[v.length-1] = (parseInt(stdout.trim()) -1); const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)})\"",
|
||||
"reset-version": "node -e \"let pkg = require('./package.json'); const v = pkg.version.split('.'); v[v.length-1] = 0; const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)\"",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"watch": "Start-Process -FilePath (get-command node) -ArgumentList @('./.scripts/fix-aliased-imports.js' , '--watch') ; Start-Process -FilePath (get-command tsc) @('-p','.','--watch')",
|
||||
"clean": "remove-item -recurse -ea 0 ./dist"
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"typings": "./dist/exports.d.ts",
|
||||
"repository": {
|
||||
|
|
|
@ -15,7 +15,10 @@
|
|||
"set-version": "node -e \"let pkg = require('./package.json'); require('child_process').exec('git rev-list --parents HEAD --count --full-history .', (o,stdout) => { const v = pkg.version.split('.'); v[v.length-1] = (parseInt(stdout.trim()) -1); const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)})\"",
|
||||
"reset-version": "node -e \"let pkg = require('./package.json'); const v = pkg.version.split('.'); v[v.length-1] = 0; const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)\"",
|
||||
"prepare": "npm run build",
|
||||
"test": "echo codegen-csharp: No Tests."
|
||||
"test": "echo codegen-csharp: No Tests.",
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -15,7 +15,10 @@
|
|||
"set-version": "node -e \"let pkg = require('./package.json'); require('child_process').exec('git rev-list --parents HEAD --count --full-history .', (o,stdout) => { const v = pkg.version.split('.'); v[v.length-1] = (parseInt(stdout.trim()) -1); const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)})\"",
|
||||
"reset-version": "node -e \"let pkg = require('./package.json'); const v = pkg.version.split('.'); v[v.length-1] = 0; const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)\"",
|
||||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout=1000000"
|
||||
"test": "npm run build && mocha dist/test --timeout=1000000",
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -15,7 +15,10 @@
|
|||
"set-version": "node -e \"let pkg = require('./package.json'); require('child_process').exec('git rev-list --parents HEAD --count --full-history .', (o,stdout) => { const v = pkg.version.split('.'); v[v.length-1] = (parseInt(stdout.trim()) -1); const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)})\"",
|
||||
"reset-version": "node -e \"let pkg = require('./package.json'); const v = pkg.version.split('.'); v[v.length-1] = 0; const orig=JSON.stringify(pkg,null,2); pkg.version = v.join('.'); const delta = JSON.stringify(pkg,null,2 ); if( orig !== delta) require('fs').writeFileSync('./package.json',delta)\"",
|
||||
"prepare": "npm run build",
|
||||
"test": "echo codemodel-v3: No Tests."
|
||||
"test": "echo codemodel-v3: No Tests.",
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -17,11 +17,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -17,11 +17,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && _mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout=1000000",
|
||||
"testci": "npm run build && mocha dist/test --timeout=1000000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout=1000000",
|
||||
"testci": "npm run build && mocha dist/test --timeout=1000000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && _mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -21,11 +21,9 @@
|
|||
"prepare": "npm run build",
|
||||
"test": "npm run build && mocha dist/test --timeout 50000",
|
||||
"testci": "npm run build && mocha dist/test --timeout 50000",
|
||||
"run-pwsh": "pwsh -command \"& {param($script) pwsh -command ((convertfrom-json (get-content -raw ./package.json)).'pwsh-scripts'.$script) }\"",
|
||||
"clean": "npm run run-pwsh clean"
|
||||
},
|
||||
"pwsh-scripts": {
|
||||
"clean": "remove-item -recurse -ea 0 ./dist ; remove-item -ea 0 ./*.log "
|
||||
"clean": "ver > nul 2>&1 nul && npm run --silent clean-cmd || npm run --silent clean-bash",
|
||||
"clean-cmd": "if exist dist rmdir /s /q dist && exit 0 || exit 0 ",
|
||||
"clean-bash": "rm nul && rm -rf dist && exit 0 || exit 0"
|
||||
},
|
||||
"keywords": [
|
||||
"perks",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"declaration": true,
|
||||
"stripInternal": true,
|
||||
"noEmitHelpers": false,
|
||||
"target": "esnext",
|
||||
"target": "es2018",
|
||||
"types": [
|
||||
"node"
|
||||
],
|
||||
|
|
Загрузка…
Ссылка в новой задаче