Skip to content

Commit

Permalink
add npm module
Browse files Browse the repository at this point in the history
  • Loading branch information
rikschennink committed Apr 2, 2020
1 parent e7cb3a4 commit c1c0242
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 12 deletions.
4 changes: 4 additions & 0 deletions dist/flip.module.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import Tick from '../tick/tick.core.module';
import Flip from './tick.view.flip.module';
Tick.plugin.add(Flip);
export default Tick;
6 changes: 0 additions & 6 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@ import gulp from 'gulp';
import util from 'gulp-util';
import clean from 'gulp-clean';
import header from 'gulp-header';
import gutil from 'gulp-util';
import data from 'gulp-data';
import sass from 'gulp-sass';
import cssnano from 'gulp-cssnano';
import postcss from 'gulp-postcss';
import zip from 'gulp-zip';
import autoprefixer from 'autoprefixer';
import sequence from 'run-sequence';
import concat from 'gulp-concat';
import BrowserSync from 'browser-sync';
import { spawn } from 'child_process';
import rename from 'gulp-rename';
import rollup from 'rollup-stream';
import markdown from 'gulp-markdown';
import babel from 'rollup-plugin-babel';
import source from 'vinyl-source-stream';
import buffer from 'vinyl-buffer';
Expand Down
25 changes: 19 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,29 @@
{
"name": "flip",
"version": "1.7.1",
"name": "@pqina/flip",
"version": "1.7.5",
"description": "A Beautifully Animated Flip Clock",
"homepage": "https://pqina.nl/flip/",
"main": "index.js",
"main": "dist/flip.module.js",
"repository": "pqina/flip",
"keywords": [
"javascript",
"countdown",
"countup",
"event",
"flipclock",
"clock",
"animated"
],
"files": [
"dist",
"tick"
],
"scripts": {
"build": "gulp build",
"test": "echo \"Error: no test specified\" && exit 1"
"build": "gulp build"
},
"author": {
"name": "PQINA",
"url": "http://pqina.nl/"
"url": "https://pqina.nl/"
},
"license": "MIT",
"devDependencies": {
Expand Down

0 comments on commit c1c0242

Please sign in to comment.