make it professional
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
BSD License
|
||||
|
||||
Copyright (c) 2016-present, Hanzo, Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
* Neither the name Hanzo nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -8,7 +8,7 @@ use 'sake-version'
|
||||
task 'clean', 'clean project', ->
|
||||
exec 'rm -rf lib'
|
||||
|
||||
task 'build', 'build js' ->
|
||||
task 'build', 'build project', ->
|
||||
bundle.write
|
||||
entry: 'src/index.coffee'
|
||||
format: 'es'
|
||||
@@ -16,7 +16,7 @@ task 'build', 'build js' ->
|
||||
coffee:
|
||||
version: 1
|
||||
|
||||
task 'build:min', 'build js for production', ['build'], ->
|
||||
task 'build:min', 'build project for production', ['build'], ->
|
||||
yield bundle.write
|
||||
entry: 'src/index.coffee'
|
||||
format: 'es'
|
||||
|
||||
+28
-19
@@ -2,8 +2,34 @@
|
||||
"name": "hanzo-analytics",
|
||||
"version": "1.0.1",
|
||||
"description": "Hanzo Platform's Tracking/Analytics",
|
||||
"main": "src/index.coffee",
|
||||
"devDependencies": {
|
||||
"main": "lib/hanzo-analytics.js",
|
||||
"module": "lib/hanzo-analytics.mjs",
|
||||
"jsnext:main": "lib/daisho.mjs",
|
||||
"files": [
|
||||
"lib/",
|
||||
"src/"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "sake build",
|
||||
"prepublishOnly": "sake build",
|
||||
"pretext": "sake build",
|
||||
"test": "sake test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/hanzo-io/hanzo-analytics.git"
|
||||
},
|
||||
"keywords": [
|
||||
"hanzo",
|
||||
"analytics"
|
||||
],
|
||||
"author": "Hanzo, Inc <hi@hanzo.io>",
|
||||
"license": "BSD-3-Clause",
|
||||
"bugs": {
|
||||
"url": "https://github.com/hanzo-io/hanzo-analytics/issues"
|
||||
},
|
||||
"homepage": "https://github.com/hanzo-io/hanzo-analytics#readme",
|
||||
"devDependencies": {
|
||||
"chai": "^4.1.1",
|
||||
"coffee-script": "^1.12.7",
|
||||
"connect": "^3.6.3",
|
||||
@@ -25,23 +51,6 @@
|
||||
"uglify-js": "^3.0.27",
|
||||
"webdriverio": "^4.8.0"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "sake test"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/hanzo-io/hanzo-analytics.git"
|
||||
},
|
||||
"keywords": [
|
||||
"hanzo",
|
||||
"analytics"
|
||||
],
|
||||
"author": "Hanzo",
|
||||
"license": "ISC",
|
||||
"bugs": {
|
||||
"url": "https://github.com/hanzo-io/hanzo-analytics/issues"
|
||||
},
|
||||
"homepage": "https://github.com/hanzo-io/hanzo-analytics#readme",
|
||||
"dependencies": {
|
||||
"cookies-js": "^1.2.3",
|
||||
"cuckoo-js": "1.0.5",
|
||||
|
||||
Reference in New Issue
Block a user