-
Notifications
You must be signed in to change notification settings - Fork 114
/
package.json
64 lines (64 loc) · 2.75 KB
/
package.json
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"author": "Chris Myers",
"contributors": [
"Jakub Strojewski <[email protected]>",
"emmanueltouzery",
"tomecko",
"WojciechP",
"wookieb",
"rparree",
"customcommander"
],
"name": "monet",
"description": "Monadic types library for JavaScript",
"version": "0.9.3",
"homepage": "https://monet.github.io/monet.js/",
"repository": {
"type": "git",
"url": "[email protected]:monet/monet.js.git"
},
"main": "dist/monet.js",
"typings": "dist/monet.d.ts",
"license": "MIT",
"engines": {
"node": ">=12",
"npm": ">=6"
},
"dependencies": {},
"devDependencies": {
"core-js": "3.9.1",
"eslint": "7.21.0",
"jasmine": "3.6.4",
"jasmine-core": "3.6.0",
"karma": "6.1.1",
"karma-chrome-launcher": "3.1.0",
"karma-firefox-launcher": "2.1.0",
"karma-jasmine": "4.0.1",
"karma-mocha-reporter": "2.2.5",
"typescript": "4.2.2",
"uglify-js": "3.13.0"
},
"scripts": {
"lint": "eslint -c .config/eslintrc.json --env browser,node './src/**/*.js'",
"test": "npm run test:karma && npm run test:node && npm run test:typings && npm run lint && npm run test:build",
"test:karma": "karma start .config/karma.conf.js",
"test:node": "jasmine --config=.config/jasmine.json",
"test:typings": "tsc -p .config/tsconfig.json -m system",
"test:build": "npm run build && npm run test:prepublish && rm -Rf ./dist",
"test:prepublish": "npm run test:prepublish:node && npm run test:prepublish:browser",
"test:prepublish:node": "jasmine --config=.config/jasmine-prepublish-global.json && jasmine --config=.config/jasmine-prepublish.json",
"test:prepublish:browser": "karma start .config/karma-prepublish-browser.conf.js",
"tdd": "karma start --auto-watch --no-single-run",
"tdd-full": "karma start --auto-watch --no-single-run --browsers Chrome,Firefox,PhantomJS",
"tdd-full-osx": "karma start --auto-watch --no-single-run --browsers Chrome,Firefox,PhantomJS,Safari",
"minify:monet": "uglifyjs dist/monet.js -o dist/monet.min.js --source-map filename=dist/monet.min.js.map -m -c unsafe -v --comments --keep-fnames",
"minify:monet-pimp": "uglifyjs dist/monet-pimp.js -o dist/monet-pimp.min.js --source-map filename=dist/monet-pimp.min.js.map -m -c unsafe -v --comments --keep-fnames",
"minify": "npm run minify:monet && npm run minify:monet-pimp",
"copy:types": "cp src/monet.d.ts dist/",
"copy:monet": "uglifyjs src/monet.js -o dist/monet.js --comments -b braces=true",
"copy:monet-pimp": "uglifyjs src/monet-pimp.js -o dist/monet-pimp.js --comments -b braces=true",
"copy": "npm run copy:monet && npm run copy:monet-pimp && npm run copy:types",
"build": "rm -Rf ./dist && mkdir dist/ && npm run copy && npm run minify",
"prepublishOnly": "npm run build"
}
}