-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.62 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.62 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
42
43
44
45
{
"name": "optional.js",
"version": "0.4.3",
"repository": {
"type": "git",
"url": "https://github.com/spencerwi/Optional.js.git"
},
"description": "Nullable. Optional. The Maybe monad. Whatever you want to call it, it's for Javascript now.",
"main": "dist/commonjs/optional.js",
"typings": "dist/commonjs/optional.d.ts",
"keywords": [
"optional",
"maybe",
"nullable"
],
"scripts": {
"pretest": "tsc -p tsconfig.commonjs.json && rollup -c rollup.config.js",
"prep-test-cli": "cat test/cli_spec_header.js test/base_spec.js >test/optional.spec.cli.js",
"test-cli": "npm run prep-test-cli && echo 'CLI test: ' && mocha test/optional.spec.cli.js && tsc -p tsconfig.test.json && mocha test/typescript-definition-file.spec.js",
"prep-test-browser": "cat test/base_spec.js >test/optional.spec.browser.js",
"test-browser": "npm run prep-test-browser && echo 'Browser test: ' && karma start karma.config.js",
"test": "npm run test-cli && npm run test-browser",
"posttest": "uglifyjs dist/umd/optional.js --compress -o dist/umd/optional.min.js"
},
"author": "Spencer Williams",
"license": "MIT",
"devDependencies": {
"@testdeck/mocha": "^0.1.2",
"@types/chai": "^4.2.3",
"@types/sinon": "^7.0.13",
"@types/sinon-chai": "^3.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": "^2.52.2",
"rollup-plugin-typescript2": "^0.30.0",
"sinon": "^11.1.1",
"sinon-chai": "^3.7.0",
"typescript": "^4.3.4",
"uglify-js": "2.x"
}
}