forked from monet/monet.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 2.33 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
{
"author": "Chris Myers",
"contributors": [
"Jakub Strojewski <[email protected]>"
],
"name": "monet",
"description": "Monadic types library for JavaScript",
"version": "0.9.0-alpha.4",
"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",
"dependencies": {},
"devDependencies": {
"eslint": "4.10.0",
"jasmine-core": "2.8.0",
"karma": "1.7.1",
"karma-chrome-launcher": "2.2.0",
"karma-firefox-launcher": "1.0.1",
"karma-jasmine": "1.1.0",
"karma-phantomjs-launcher": "1.0.4",
"karma-safari-launcher": "1.0.0",
"typescript": "2.6.1",
"uglify-js": "3.1.6"
},
"scripts": {
"lint": "./node_modules/.bin/eslint --env browser,node './src/**/*.js'",
"test": "npm run test:karma && npm run test:typings && npm run lint && npm run test:build",
"test:karma": "./node_modules/.bin/karma start",
"test:typings": "./node_modules/.bin/tsc -m system",
"test:build": "npm run build && rm -Rf ./dist",
"tdd": "./node_modules/.bin/karma start --auto-watch --no-single-run",
"tdd-full": "./node_modules/.bin/karma start --auto-watch --no-single-run --browsers Chrome,Firefox,PhantomJS",
"tdd-full-osx": "./node_modules/.bin/karma start --auto-watch --no-single-run --browsers Chrome,Firefox,PhantomJS,Safari",
"minify:monet": "./node_modules/.bin/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": "./node_modules/.bin/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": "./node_modules/.bin/uglifyjs src/monet.js -o dist/monet.js --lint --comments -b bracketize=true",
"copy:monet-pimp": "./node_modules/.bin/uglifyjs src/monet-pimp.js -o dist/monet-pimp.js --lint --comments -b bracketize=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",
"prepublish": "npm run build"
}
}