forked from transferwise/payment-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 3.16 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "payment-components",
"version": "1.0.1",
"repository": {
"type": "git",
"url": "git+https://github.com/transferwise/payment-components.git"
},
"main": "dist/payment-components.js",
"dependencies": {
"angular": "~1.3.17",
"angular-animate": "~1.3.17",
"angular-payments": "honestdollar/angular-payments#434a783dadacc9fd520219511506d9a6546eb542",
"bootstrap": "https://github.com/transferwise/bootstrap/tarball/v4.1.4",
"jquery": "^2.1.4"
},
"scripts": {
"clean": "rm -rf dist/*",
"prebuild": "npm run clean -s",
"build": "npm run build:browserify -s && npm run build:styles -s",
"build:browserify": "browserify src/payment-components.module.js -o dist/payment-components.js",
"build:styles": "lessc --clean-css src/styles/styles.less dist/payment-components.min.css",
"demo": "npm run demo:build && npm run demo:serve && npm run demo:open",
"demo:build": "npm run demo:css & npm run demo:fonts & npm run demo:js",
"demo:css": "cp node_modules/bootstrap/dist/css/bootstrap.min.css demo/vendor/css/",
"demo:fonts": "cp node_modules/bootstrap/dist/fonts/* demo/vendor/fonts/",
"demo:js": "npm run demo:angular & npm run demo:angular-payments & npm run demo:angular-animate & npm run demo:jquery & npm run demo:styleguide-components",
"demo:angular": "cp node_modules/angular/angular.min.js demo/vendor/js/",
"demo:angular-payments": "cp node_modules/angular-payments/lib/angular-payments.min.js demo/vendor/js",
"demo:angular-animate": "cp node_modules/angular-animate/angular-animate.min.js demo/vendor/js",
"demo:jquery": "cp node_modules/jquery/dist/jquery.min.js demo/vendor/js",
"demo:styleguide-components": "cp bower_components/tw-styleguide-components/dist/js/styleguide-components.min.js demo/vendor/js",
"demo:serve": "http-server -p 9090",
"demo:open": "opener http://localhost:9090",
"lint": "jshint src/**/*.js",
"test": "karma start test/karma.conf.js --singleRun",
"watch": "npm run watch:browserify -s & npm run watch:test -s & npm run watch:less -s",
"watch:browserify": "watchify src/payment-components.module.js -o dist/payment-components.js -dv",
"watch:less": "watch 'npm run build:styles -s' src/styles/ -du",
"watch:test": "karma start test/karma.conf.js"
},
"devDependencies": {
"angular-mocks": "1.3.17",
"bower": "*",
"browserify": "^12.0.1",
"browserify-ngannotate": "^2.0.0",
"browserify-shim": "^3.8.11",
"grunt": "^0.4.5",
"html2js-browserify": "^1.1.0",
"http-server": "^0.8.5",
"jasmine-core": "^2.4.1",
"jshint": "^2.8.0",
"karma": "^0.13.16",
"karma-browserify": "^4.4.2",
"karma-jasmine": "^0.3.6",
"karma-mocha-reporter": "^1.1.3",
"karma-phantomjs-launcher": "^0.2.2",
"less": "^2.5.3",
"less-plugin-clean-css": "^1.5.1",
"opener": "^1.4.1",
"phantomjs": "^1.9.19",
"uglifyify": "^3.0.1",
"watch": "^0.17.1",
"watchify": "^3.6.1"
},
"browserify": {
"transform": [
"browserify-shim",
"html2js-browserify"
]
},
"browserify-shim": {
"angular": "global:angular"
},
"jshintConfig": {
"browserify": true
},
"license": "MIT"
}