-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepared Pollymer for npm and jspm, bumped version to 1.1.3
- Loading branch information
Showing
21 changed files
with
3,074 additions
and
600 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
jspm_packages/ | ||
lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_modules/ | ||
jspm_packages/ | ||
src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
VERSION = 1.1.1 | ||
VERSION = 1.1.3 | ||
|
||
all: dist | ||
|
||
distclean: | ||
rm -f pollymer-$(VERSION).js pollymer-$(VERSION).min.js | ||
all: clean build lib | ||
|
||
clean: | ||
- rm -r dist/ | ||
- rm -r lib/ | ||
|
||
dist: pollymer-$(VERSION).min.js | ||
build: | ||
mkdir dist | ||
jspm bundle-sfx browser.js dist/pollymer-${VERSION}.js | ||
./node_modules/.bin/uglifyjs dist/pollymer-${VERSION}.js -o dist/pollymer-${VERSION}.min.js | ||
|
||
pollymer-$(VERSION).js: pollymer.js | ||
cp pollymer.js pollymer-$(VERSION).js | ||
lib: | ||
mkdir lib | ||
./node_modules/.bin/babel --presets es2015 -d lib/ src/ | ||
|
||
pollymer-$(VERSION).min.js: pollymer-$(VERSION).js | ||
sed -e "s/DEBUG = true/DEBUG = false/g" pollymer-$(VERSION).js | ./compile.py > pollymer-$(VERSION).min.js.tmp | ||
mv pollymer-$(VERSION).min.js.tmp pollymer-$(VERSION).min.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import Pollymer from './src/Pollymer.js' | ||
|
||
window.Pollymer = Pollymer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./lib/Pollymer.js').default; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
System.config({ | ||
baseURL: "/", | ||
defaultJSExtensions: true, | ||
transpiler: "babel", | ||
babelOptions: { | ||
"optional": [ | ||
"runtime", | ||
"optimisation.modules.system" | ||
] | ||
}, | ||
paths: { | ||
"github:*": "jspm_packages/github/*", | ||
"npm:*": "jspm_packages/npm/*" | ||
}, | ||
|
||
map: { | ||
"babel": "npm:babel-core@5.8.34", | ||
"babel-runtime": "npm:babel-runtime@5.8.34", | ||
"core-js": "npm:core-js@1.2.6", | ||
"github:jspm/nodelibs-assert@0.1.0": { | ||
"assert": "npm:assert@1.3.0" | ||
}, | ||
"github:jspm/nodelibs-path@0.1.0": { | ||
"path-browserify": "npm:path-browserify@0.0.0" | ||
}, | ||
"github:jspm/nodelibs-process@0.1.2": { | ||
"process": "npm:process@0.11.2" | ||
}, | ||
"github:jspm/nodelibs-util@0.1.0": { | ||
"util": "npm:util@0.10.3" | ||
}, | ||
"npm:assert@1.3.0": { | ||
"util": "npm:util@0.10.3" | ||
}, | ||
"npm:babel-runtime@5.8.34": { | ||
"process": "github:jspm/nodelibs-process@0.1.2" | ||
}, | ||
"npm:core-js@1.2.6": { | ||
"fs": "github:jspm/nodelibs-fs@0.1.2", | ||
"path": "github:jspm/nodelibs-path@0.1.0", | ||
"process": "github:jspm/nodelibs-process@0.1.2", | ||
"systemjs-json": "github:systemjs/plugin-json@0.1.0" | ||
}, | ||
"npm:inherits@2.0.1": { | ||
"util": "github:jspm/nodelibs-util@0.1.0" | ||
}, | ||
"npm:path-browserify@0.0.0": { | ||
"process": "github:jspm/nodelibs-process@0.1.2" | ||
}, | ||
"npm:process@0.11.2": { | ||
"assert": "github:jspm/nodelibs-assert@0.1.0" | ||
}, | ||
"npm:util@0.10.3": { | ||
"inherits": "npm:inherits@2.0.1", | ||
"process": "github:jspm/nodelibs-process@0.1.2" | ||
} | ||
} | ||
}); |
Oops, something went wrong.