Use almond.js via npm (instead of bower)

This commit is contained in:
JC Brand 2016-08-23 09:16:12 +00:00
parent 4a2048baae
commit c65eee9ed3
5 changed files with 4 additions and 5 deletions

View File

@ -10,7 +10,6 @@
"dependencies": {
"requirejs": "~2.2.0",
"crypto-js-evanvosberg": "https://github.com/evanvosberg/crypto-js.git#release-3.1.2-5",
"almond": "~0.3.1",
"requirejs-text": "~2.0.14",
"requirejs-tpl-jcbrand": "*",
"bootstrap": "~3.2.0",

View File

@ -1,6 +1,6 @@
({
baseUrl: "../",
name: "components/almond/almond.js",
name: "node_modules/almond/almond.js",
out: "../dist/converse-mobile.min.js",
mainConfigFile: '../config.js',
excludeShallow: [

View File

@ -1,6 +1,6 @@
({
baseUrl: "../",
name: "components/almond/almond.js",
name: "node_modules/almond/almond.js",
out: "../dist/converse-no-dependencies.min.js",
include: ['converse'],
excludeShallow: [

View File

@ -1,6 +1,6 @@
({
baseUrl: "../",
name: "components/almond/almond.js",
name: "node_modules/almond/almond.js",
out: "../dist/converse.nojquery.min.js",
include: ['converse'],
exclude: ['jquery', 'jquery-private'],

View File

@ -1,6 +1,6 @@
({
baseUrl: "../",
name: "components/almond/almond.js",
name: "node_modules/almond/almond.js",
out: "../dist/converse.min.js",
mainConfigFile: '../config.js',
include: ['converse'],