Browse Source

Prepare for Polymer 3 (#26)

* Prepare for Polymer 3
p3-preview
Tomi Virkki 6 years ago
parent
commit
93b7990780
5 changed files with 9 additions and 15 deletions
  1. 2
    0
      .npmignore
  2. 1
    0
      .npmrc
  3. 1
    1
      .travis.yml
  4. 5
    6
      package.json
  5. 0
    8
      update-core-version.js

+ 2
- 0
.npmignore View File

@@ -0,0 +1,2 @@
.travis.yml
bower.json

+ 1
- 0
.npmrc View File

@@ -0,0 +1 @@
package-lock=false

+ 1
- 1
.travis.yml View File

@@ -12,6 +12,6 @@ addons:
chrome: latest

install:
- npm install
- npm install bower
- bower install


+ 5
- 6
package.json View File

@@ -1,14 +1,13 @@
{
"name": "vaadin",
"version": "10.0.0-beta10",
"name": "@vaadin/vaadin",
"version": "10.0.0-pre1",
"description": "Vaadin Elements is an evolving set of open source custom HTML elements, built using Polymer, for building mobile and desktop web applications in modern browsers.",
"author": "Vaadin Ltd",
"license": "(Apache-2.0 OR SEE LICENSE IN https://vaadin.com/license/cval-3.0)",
"dependencies": {
"bower": "latest"
},
"scripts": {
"version": "node update-core-version.js && git add bower.json"
"@vaadin/vaadin-board": "2.0.0-pre.2",
"@vaadin/vaadin-charts": "6.1.0-pre.2",
"@vaadin/vaadin-core": "10.0.0-pre.3"
},
"devDependencies": {},
"keywords": [

+ 0
- 8
update-core-version.js View File

@@ -1,8 +0,0 @@
var fs = require('fs');
const fileName = './bower.json';
var bowerjson = require(fileName);

const version = require('./package.json').version;
bowerjson.dependencies["vaadin-core"] = version;

fs.writeFileSync(fileName, JSON.stringify(bowerjson, null, 2));

Loading…
Cancel
Save