aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomi Virkki <tomivirkki@users.noreply.github.com>2018-05-21 13:30:34 +0300
committerYuriy Yevstihnyeyev <yuriy@vaadin.com>2018-05-21 13:30:34 +0300
commit93b799078052020ed6032425558c1ff29f9d74c3 (patch)
treed4f6f4c9e9be4510475cfa410e2fea8744001427
parent8a6da8ba17ddf20242bffcd15cdeaac973cf3a2c (diff)
downloadvaadin-93b799078052020ed6032425558c1ff29f9d74c3.tar.gz
vaadin-93b799078052020ed6032425558c1ff29f9d74c3.zip
Prepare for Polymer 3 (#26)p3-preview
* Prepare for Polymer 3
-rw-r--r--.npmignore2
-rw-r--r--.npmrc1
-rw-r--r--.travis.yml2
-rw-r--r--package.json11
-rw-r--r--update-core-version.js8
5 files changed, 9 insertions, 15 deletions
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..b07b22a
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,2 @@
+.travis.yml
+bower.json
diff --git a/.npmrc b/.npmrc
new file mode 100644
index 0000000..43c97e7
--- /dev/null
+++ b/.npmrc
@@ -0,0 +1 @@
+package-lock=false
diff --git a/.travis.yml b/.travis.yml
index b83f9f7..0620039 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,6 +12,6 @@ addons:
chrome: latest
install:
- - npm install
+ - npm install bower
- bower install
diff --git a/package.json b/package.json
index 6024e9b..84d4bd0 100644
--- a/package.json
+++ b/package.json
@@ -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": [
diff --git a/update-core-version.js b/update-core-version.js
deleted file mode 100644
index a284e4e..0000000
--- a/update-core-version.js
+++ /dev/null
@@ -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));