forked from ContaAzul/creditcard.js
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
48 lines (48 loc) · 1.55 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
{
"name": "creditcard.js",
"version": "2.1.0",
"description": "A simple library for credit-card validation in JavaScript",
"main": "dist/creditcard.min.js",
"repository": "ContaAzul/creditcard.js",
"files": [
"dist",
"lib",
"src"
],
"scripts": {
"build": "npm run check && npm run build:debug && npm run build:min",
"build:debug": "mkdir -p dist && browserify src/creditCard.js -s CreditCard -t babelify --presets [es2015] -p [bannerify --file .banner] -o dist/creditcard.js",
"build:min": "uglifyjs dist/creditcard.js --comments '/!/' -m screw_ie8=true -c screw_ie8=true,unused=false -o dist/creditcard.min.js",
"build:watch": "watchify src/creditCard.js -s CreditCard -t babelify --presets [es2015] -o dist/creditcard.js -v",
"test": "karma start --single-run",
"test:watch": "karma start --watch",
"lint": "eslint src specs",
"check": "npm run test && npm run lint",
"prepublish": "npm run build"
},
"keywords": [
"credit",
"card",
"money",
"validator"
],
"author": "@ContaAzul",
"license": "MIT",
"devDependencies": {
"babel-preset-es2015": "^6.5.0",
"babelify": "^7.2.0",
"bannerify": "^1.0.1",
"browserify": "^13.0.0",
"eslint": "^2.13.1",
"eslint-config-standard": "^5.3.1",
"eslint-plugin-standard": "^1.3.2",
"jasmine-core": "^2.4.1",
"karma": "^1.0.0",
"karma-browserify": "^5.0.2",
"karma-jasmine": "^1.0.2",
"karma-phantomjs-launcher": "^1.0.0",
"phantomjs-prebuilt": "^2.1.4",
"uglify-js": "^2.6.2",
"watchify": "^3.7.0"
}
}