Delete Gruntfile.js
This commit is contained in:
parent
7092f6f41c
commit
b207c54807
1 changed files with 0 additions and 66 deletions
66
Gruntfile.js
66
Gruntfile.js
|
@ -1,66 +0,0 @@
|
|||
var packageObject = require('./package.json');
|
||||
|
||||
module.exports = function (grunt) {
|
||||
// Project configuration.
|
||||
grunt.initConfig({
|
||||
pkg: grunt.file.readJSON('package.json'),
|
||||
combine: {
|
||||
single: {
|
||||
input: "./src/bitaddress-ui.html",
|
||||
output: "./bitaddress.org.html",
|
||||
tokens: [
|
||||
{ token: "//array.map.js", file: "./src/array.map.js" },
|
||||
{ token: "//biginteger.js", file: "./src/biginteger.js" },
|
||||
{ token: "//bitcoinjs-lib.js", file: "./src/bitcoinjs-lib.js" },
|
||||
{ token: "//bitcoinjs-lib.address.js", file: "./src/bitcoinjs-lib.address.js" },
|
||||
{ token: "//bitcoinjs-lib.base58.js", file: "./src/bitcoinjs-lib.base58.js" },
|
||||
{ token: "//bitcoinjs-lib.ecdsa.js", file: "./src/bitcoinjs-lib.ecdsa.js" },
|
||||
{ token: "//bitcoinjs-lib.eckey.js", file: "./src/bitcoinjs-lib.eckey.js" },
|
||||
{ token: "//bitcoinjs-lib.util.js", file: "./src/bitcoinjs-lib.util.js" },
|
||||
{ token: "//cryptojs.js", file: "./src/cryptojs.js" },
|
||||
{ token: "//cryptojs.sha256.js", file: "./src/cryptojs.sha256.js" },
|
||||
{ token: "//cryptojs.pbkdf2.js", file: "./src/cryptojs.pbkdf2.js" },
|
||||
{ token: "//cryptojs.hmac.js", file: "./src/cryptojs.hmac.js" },
|
||||
{ token: "//cryptojs.aes.js", file: "./src/cryptojs.aes.js" },
|
||||
{ token: "//cryptojs.blockmodes.js", file: "./src/cryptojs.blockmodes.js" },
|
||||
{ token: "//cryptojs.ripemd160.js", file: "./src/cryptojs.ripemd160.js" },
|
||||
{ token: "//crypto-scrypt.js", file: "./src/crypto-scrypt.js" },
|
||||
{ token: "//ellipticcurve.js", file: "./src/ellipticcurve.js" },
|
||||
{ token: "//secrets.js", file: "./src/secrets.js" },
|
||||
{ token: "//ninja.key.js", file: "./src/ninja.key.js" },
|
||||
{ token: "//ninja.misc.js", file: "./src/ninja.misc.js" },
|
||||
{ token: "//ninja.onload.js", file: "./src/ninja.onload.js" },
|
||||
{ token: "//ninja.unittests.js", file: "./src/ninja.unittests.js" },
|
||||
{ token: "//ninja.translator.js", file: "./src/ninja.translator.js" },
|
||||
{ token: "//ninja.singlewallet.js", file: "./src/ninja.singlewallet.js" },
|
||||
{ token: "//ninja.paperwallet.js", file: "./src/ninja.paperwallet.js" },
|
||||
{ token: "//ninja.bulkwallet.js", file: "./src/ninja.bulkwallet.js" },
|
||||
{ token: "//ninja.brainwallet.js", file: "./src/ninja.brainwallet.js" },
|
||||
{ token: "//ninja.vanitywallet.js", file: "./src/ninja.vanitywallet.js" },
|
||||
{ token: "//ninja.splitwallet.js", file: "./src/ninja.splitwallet.js" },
|
||||
{ token: "//ninja.detailwallet.js", file: "./src/ninja.detailwallet.js" },
|
||||
{ token: "//qrcode.js", file: "./src/qrcode.js" },
|
||||
{ token: "//securerandom.js", file: "./src/securerandom.js" },
|
||||
{ token: "//main.css", file: "./src/main.css" },
|
||||
{ token: "//version", string: packageObject.version }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
lineending: { // Task
|
||||
dist: { // Target
|
||||
options: { // Target options
|
||||
eol: 'lf'
|
||||
},
|
||||
files: { // Files to process
|
||||
'./bitaddress.org.html': ['./bitaddress.org.html']
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
grunt.file.defaultEncoding = 'utf-8';
|
||||
grunt.loadNpmTasks("grunt-combine");
|
||||
grunt.loadNpmTasks('grunt-lineending');
|
||||
grunt.registerTask("default", ["combine:single", "lineending"]);
|
||||
};
|
Loading…
Add table
Reference in a new issue