forked from gunins/JavaScript-MD5
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.56 KB
/
package.json
File metadata and controls
48 lines (48 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
42
43
44
45
46
47
48
{
"name": "blueimp-md5-es6",
"version": "2.7.4",
"title": "JavaScript MD5",
"description": "JavaScript MD5 implementation. Compatible with server-side environments like Node.js, module loaders like RequireJS, Browserify or webpack and all web browsers.",
"keywords": [
"javascript",
"md5", "es6"
],
"homepage": "https://github.com/gunins/JavaScript-MD5",
"author": {
"name": "Sebastian Tschan",
"url": "https://blueimp.net"
},
"contributors": [
{
"name": "Paul Johnston",
"url": "http://pajhome.org.uk/crypt/md5"
}
],
"repository": {
"type": "git",
"url": "git://github.com/gunins/JavaScript-MD5.git"
},
"license": "MIT",
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babili": "^0.1.3",
"chai": "3.5.0",
"mocha": "3.1.0",
"rollup": "^0.43.0",
"uglify-js": "2.7.3"
},
"scripts": {
"unit": "mocha",
"test": "npm run unit",
"rollup": "rollup js/md5.js --format umd --name \"md5\" --output dist/es6/md5.js",
"babel": "babel dist/es6/md5.js --out-file dist/md5.js --presets=es2015",
"compressES6": "babili dist/es6/md5.js --out-file dist/es6/md5.min.js --source-maps",
"compressES5": "uglifyjs dist/md5.js -c -m -o dist/md5.min.js --source-map dist/md5.min.js.map",
"build":"npm run rollup && npm run babel && npm run compressES6 && npm run compressES5",
"preversion": "npm test",
"version": "npm run build && git add -A js",
"postversion": "git push --tags origin master && npm publish"
},
"main": "dist/es6/md5.js"
}