-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.56 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "comparators",
"version": "3.0.5",
"repository": {
"type": "git",
"url": "https://github.com/spencerwi/Comparators.js.git"
},
"description": "Provides chainable comparator-function generators a la Java 8 Comparators",
"main": "dist/commonjs/comparators.js",
"typings": "dist/commonjs/comparators.d.ts",
"keywords": [
"comparator",
"sort",
"array"
],
"scripts": {
"pretest": "tsc -p tsconfig.commonjs.json && rollup -c rollup.config.js",
"prep-cli-test": "cat test/spec_header_cli.js test/base_spec.js >test/comparators.spec.cli.js",
"test-cli": "npm run prep-cli-test && echo 'CLI test: ' && mocha test/comparators.spec.cli.js && echo 'Typescript CLI test: ' && tsc -p tsconfig.test.json && mocha test/typescript-definition-file.spec.js",
"prep-browser-test": "cat test/spec_header_browser.js test/base_spec.js >test/comparators.spec.browser.js",
"test-browser": "npm run prep-browser-test && echo 'Browser test: ' && karma start karma.config.js",
"test": "npm run test-cli && npm run test-browser",
"posttest": "uglifyjs dist/umd/comparators.js --compress -o dist/umd/comparators.min.js"
},
"author": "Spencer Williams",
"license": "MIT",
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.3",
"chai": "^4.3.0",
"karma": "^6.3.13",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"mocha": "^9.2.0",
"puppeteer": "^13.1.0",
"rollup": "^1.12.1",
"rollup-plugin-typescript2": "^0.21.0",
"typescript": "^3.4.0",
"uglify-js": "2.x"
}
}