deps: drop bower
This commit is contained in:
parent
96f1990542
commit
dad9fbddf0
6 changed files with 55 additions and 1103 deletions
|
@ -28,12 +28,10 @@ before_install:
|
|||
# provide yarn and bower if ember build is tested
|
||||
- if $TEST_EMBER || $TEST_SAUCE; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi
|
||||
- if $TEST_EMBER || $TEST_SAUCE; then export PATH=$HOME/.yarn/bin:$PATH; fi
|
||||
- if $TEST_EMBER || $TEST_SAUCE; then yarn global add bower; fi
|
||||
|
||||
install:
|
||||
# install dependencies for client
|
||||
- if $TEST_EMBER || $TEST_SAUCE; then yarn install --no-interactive; fi
|
||||
- if $TEST_EMBER || $TEST_SAUCE; then bower install; fi
|
||||
# install dependencies for api
|
||||
- if $TEST_API; then cd api/ && composer install && cd ..; fi
|
||||
|
||||
|
|
|
@ -33,13 +33,12 @@ Due to security reasons you should have SSL encryption enabled and provide a val
|
|||
|
||||
Production builds are provided as github [release assets](https://github.com/jelhan/croodle/releases).
|
||||
|
||||
If you like to build yourself you have to install [yarn](https://yarnpkg.com/), [bower](http://bower.io/), [ember-cli](http://www.ember-cli.com/) and [composer](https://getcomposer.org/) before.
|
||||
If you like to build yourself you have to install [yarn](https://yarnpkg.com/), [ember-cli](http://www.ember-cli.com/) and [composer](https://getcomposer.org/) before.
|
||||
|
||||
```shell
|
||||
git clone git@github.com:jelhan/croodle.git
|
||||
cd croodle
|
||||
yarn install
|
||||
bower install
|
||||
cd api/ && composer install --no-dev && cd ..
|
||||
ember build --prod
|
||||
```
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"name": "croodle",
|
||||
"dependencies": {
|
||||
"sjcl": "~1.0.6",
|
||||
"floatThead": "^1.4.3"
|
||||
}
|
||||
}
|
|
@ -7,6 +7,9 @@ module.exports = function(defaults) {
|
|||
'buildInfoOptions': {
|
||||
'metaTemplate': 'version={SEMVER}'
|
||||
},
|
||||
'ember-auto-import': {
|
||||
forbidEval: true,
|
||||
},
|
||||
'ember-bootstrap': {
|
||||
importBootstrapCSS: false,
|
||||
'bootstrapVersion': 3,
|
||||
|
@ -40,11 +43,11 @@ module.exports = function(defaults) {
|
|||
app.import('vendor/bootstrap-datepicker-locales/bootstrap-datepicker.it.min.js');
|
||||
|
||||
app.import({
|
||||
development: 'bower_components/floatThead/dist/jquery.floatThead.js',
|
||||
production: 'bower_components/floatThead/dist/jquery.floatThead.min.js'
|
||||
development: 'node_modules/floatthead/dist/jquery.floatThead.js',
|
||||
production: 'node_modules/floatthead/dist/jquery.floatThead.min.js'
|
||||
});
|
||||
|
||||
app.import('bower_components/sjcl/sjcl.js', {
|
||||
app.import('node_modules/sjcl/sjcl.js', {
|
||||
using: [
|
||||
{ transformation: 'amd', as: 'sjcl' }
|
||||
]
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
"ember-awesome-macros": "^3.1.0",
|
||||
"ember-bootstrap": "^2.1.2",
|
||||
"ember-bootstrap-cp-validations": "^1.0.0",
|
||||
"ember-browserify": "^1.1.11",
|
||||
"ember-cli": "~3.4.4",
|
||||
"ember-cli-acceptance-test-helpers": "^1.0.0",
|
||||
"ember-cli-app-version": "^3.2.0",
|
||||
|
@ -72,9 +71,11 @@
|
|||
"ember-transition-helper": "^1.0.0",
|
||||
"ember-truth-helpers": "^2.1.0",
|
||||
"eslint-plugin-ember": "^5.2.0",
|
||||
"floatthead": "^2.1.2",
|
||||
"loader.js": "^4.7.0",
|
||||
"qunit-dom": "^0.7.1",
|
||||
"sass": "^1.15.2"
|
||||
"sass": "^1.15.2",
|
||||
"sjcl": "^1.0.8"
|
||||
},
|
||||
"engines": {
|
||||
"node": "6.* || 8.* || >= 10.*"
|
||||
|
|
Loading…
Reference in a new issue