typescript(loopover): chore: removed the testing stuff (for now)
Signed-off-by: prescientmoon <git@moonythm.dev>
This commit is contained in:
parent
90b404f68b
commit
a156a02f94
|
@ -6,7 +6,6 @@
|
||||||
"module": "dist/bundle.esm.js",
|
"module": "dist/bundle.esm.js",
|
||||||
"typings": "dist/index.d.ts",
|
"typings": "dist/index.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha",
|
|
||||||
"prebuild": "rimraf dist",
|
"prebuild": "rimraf dist",
|
||||||
"build": "rollup -c rollup.config.ts"
|
"build": "rollup -c rollup.config.ts"
|
||||||
},
|
},
|
||||||
|
@ -27,10 +26,6 @@
|
||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chai": "^4.2.5",
|
|
||||||
"@types/mocha": "^5.2.7",
|
|
||||||
"@types/node": "^12.12.12",
|
|
||||||
"chai": "^4.2.0",
|
|
||||||
"rimraf": "^3.0.0",
|
"rimraf": "^3.0.0",
|
||||||
"rollup": "^1.27.5",
|
"rollup": "^1.27.5",
|
||||||
"rollup-plugin-commonjs": "^10.1.0",
|
"rollup-plugin-commonjs": "^10.1.0",
|
||||||
|
|
|
@ -2,10 +2,6 @@ dependencies:
|
||||||
'@thi.ng/api': 6.5.0
|
'@thi.ng/api': 6.5.0
|
||||||
immutable: 4.0.0-rc.12
|
immutable: 4.0.0-rc.12
|
||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/chai': 4.2.5
|
|
||||||
'@types/mocha': 5.2.7
|
|
||||||
'@types/node': 12.12.12
|
|
||||||
chai: 4.2.0
|
|
||||||
rimraf: 3.0.0
|
rimraf: 3.0.0
|
||||||
rollup: 1.27.5
|
rollup: 1.27.5
|
||||||
rollup-plugin-commonjs: 10.1.0_rollup@1.27.5
|
rollup-plugin-commonjs: 10.1.0_rollup@1.27.5
|
||||||
|
@ -40,18 +36,10 @@ packages:
|
||||||
dev: false
|
dev: false
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-vDt8zEN1L2fuL1HQUKS+fbZnKLLLSx/qAL9GEMsZzCg2IFoqNqxhFVQ491nQkKEMTIP5hRox8LUsXNZDxCsuwQ==
|
integrity: sha512-vDt8zEN1L2fuL1HQUKS+fbZnKLLLSx/qAL9GEMsZzCg2IFoqNqxhFVQ491nQkKEMTIP5hRox8LUsXNZDxCsuwQ==
|
||||||
/@types/chai/4.2.5:
|
|
||||||
dev: true
|
|
||||||
resolution:
|
|
||||||
integrity: sha512-YvbLiIc0DbbhiANrfVObdkLEHJksQZVq0Uvfg550SRAKVYaEJy+V70j65BVe2WNp6E3HtKsUczeijHFCjba3og==
|
|
||||||
/@types/estree/0.0.39:
|
/@types/estree/0.0.39:
|
||||||
dev: true
|
dev: true
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
|
integrity: sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
|
||||||
/@types/mocha/5.2.7:
|
|
||||||
dev: true
|
|
||||||
resolution:
|
|
||||||
integrity: sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==
|
|
||||||
/@types/node/12.12.12:
|
/@types/node/12.12.12:
|
||||||
dev: true
|
dev: true
|
||||||
resolution:
|
resolution:
|
||||||
|
@ -77,10 +65,6 @@ packages:
|
||||||
node: '>=4'
|
node: '>=4'
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
|
integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
|
||||||
/assertion-error/1.1.0:
|
|
||||||
dev: true
|
|
||||||
resolution:
|
|
||||||
integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==
|
|
||||||
/balanced-match/1.0.0:
|
/balanced-match/1.0.0:
|
||||||
dev: true
|
dev: true
|
||||||
resolution:
|
resolution:
|
||||||
|
@ -102,19 +86,6 @@ packages:
|
||||||
node: '>=6'
|
node: '>=6'
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==
|
integrity: sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw==
|
||||||
/chai/4.2.0:
|
|
||||||
dependencies:
|
|
||||||
assertion-error: 1.1.0
|
|
||||||
check-error: 1.0.2
|
|
||||||
deep-eql: 3.0.1
|
|
||||||
get-func-name: 2.0.0
|
|
||||||
pathval: 1.1.0
|
|
||||||
type-detect: 4.0.8
|
|
||||||
dev: true
|
|
||||||
engines:
|
|
||||||
node: '>=4'
|
|
||||||
resolution:
|
|
||||||
integrity: sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==
|
|
||||||
/chalk/2.4.2:
|
/chalk/2.4.2:
|
||||||
dependencies:
|
dependencies:
|
||||||
ansi-styles: 3.2.1
|
ansi-styles: 3.2.1
|
||||||
|
@ -125,10 +96,6 @@ packages:
|
||||||
node: '>=4'
|
node: '>=4'
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
|
integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
|
||||||
/check-error/1.0.2:
|
|
||||||
dev: true
|
|
||||||
resolution:
|
|
||||||
integrity: sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=
|
|
||||||
/color-convert/1.9.3:
|
/color-convert/1.9.3:
|
||||||
dependencies:
|
dependencies:
|
||||||
color-name: 1.1.3
|
color-name: 1.1.3
|
||||||
|
@ -151,14 +118,6 @@ packages:
|
||||||
dev: true
|
dev: true
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
||||||
/deep-eql/3.0.1:
|
|
||||||
dependencies:
|
|
||||||
type-detect: 4.0.8
|
|
||||||
dev: true
|
|
||||||
engines:
|
|
||||||
node: '>=0.12'
|
|
||||||
resolution:
|
|
||||||
integrity: sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==
|
|
||||||
/escape-string-regexp/1.0.5:
|
/escape-string-regexp/1.0.5:
|
||||||
dev: true
|
dev: true
|
||||||
engines:
|
engines:
|
||||||
|
@ -208,10 +167,6 @@ packages:
|
||||||
dev: true
|
dev: true
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
|
integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
|
||||||
/get-func-name/2.0.0:
|
|
||||||
dev: true
|
|
||||||
resolution:
|
|
||||||
integrity: sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=
|
|
||||||
/glob/7.1.6:
|
/glob/7.1.6:
|
||||||
dependencies:
|
dependencies:
|
||||||
fs.realpath: 1.0.0
|
fs.realpath: 1.0.0
|
||||||
|
@ -353,10 +308,6 @@ packages:
|
||||||
dev: true
|
dev: true
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
|
integrity: sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
|
||||||
/pathval/1.1.0:
|
|
||||||
dev: true
|
|
||||||
resolution:
|
|
||||||
integrity: sha1-uULm1L3mUwBe9rcTYd74cn0GReA=
|
|
||||||
/pkg-dir/4.2.0:
|
/pkg-dir/4.2.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
find-up: 4.1.0
|
find-up: 4.1.0
|
||||||
|
@ -528,12 +479,6 @@ packages:
|
||||||
dev: true
|
dev: true
|
||||||
resolution:
|
resolution:
|
||||||
integrity: sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
|
integrity: sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==
|
||||||
/type-detect/4.0.8:
|
|
||||||
dev: true
|
|
||||||
engines:
|
|
||||||
node: '>=4'
|
|
||||||
resolution:
|
|
||||||
integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==
|
|
||||||
/typescript/3.7.2:
|
/typescript/3.7.2:
|
||||||
dev: true
|
dev: true
|
||||||
engines:
|
engines:
|
||||||
|
@ -553,10 +498,6 @@ packages:
|
||||||
integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
||||||
specifiers:
|
specifiers:
|
||||||
'@thi.ng/api': ^6.5.0
|
'@thi.ng/api': ^6.5.0
|
||||||
'@types/chai': ^4.2.5
|
|
||||||
'@types/mocha': ^5.2.7
|
|
||||||
'@types/node': ^12.12.12
|
|
||||||
chai: ^4.2.0
|
|
||||||
immutable: ^4.0.0-rc.12
|
immutable: ^4.0.0-rc.12
|
||||||
rimraf: ^3.0.0
|
rimraf: ^3.0.0
|
||||||
rollup: ^1.27.5
|
rollup: ^1.27.5
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
import { rangeArray } from './rangeArray'
|
|
||||||
|
|
||||||
export const chunkX = <T>(arr: T[], width: number, height: number): T[][] =>
|
|
||||||
rangeArray(0, this.height).map(index =>
|
|
||||||
arr.slice(index * height, (index + 1) * width)
|
|
||||||
)
|
|
Loading…
Reference in a new issue