onesignal-web-sdk
Version:
Web push notifications from OneSignal.
114 lines (113 loc) • 5.02 kB
JSON
{
"name": "onesignal-web-sdk",
"version": "1.2.1",
"description": "Web push notifications from OneSignal.",
"dependencies": {
"bowser": "github:OneSignal/bowser#fix-android8-opr6-build-detection",
"jsdom": "^9.12.0",
"jsonp": "github:OneSignal/jsonp#onesignal",
"node-sass": "^4.9.0",
"npm-css": "https://registry.npmjs.org/npm-css/-/npm-css-0.2.3.tgz",
"postcss-discard-comments": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-2.0.4.tgz",
"postcss-filter-plugins": "https://registry.npmjs.org/postcss-filter-plugins/-/postcss-filter-plugins-2.0.2.tgz",
"tslib": "^1.9.0",
"validator": "https://registry.npmjs.org/validator/-/validator-6.0.0.tgz"
},
"scripts": {
"clean": "rm -rf build/ts-to-es6 && rm -rf build/bundles",
"transpile:sources": "$(yarn bin)/tsc --project build/config/tsconfig.json",
"transpile:tests": "$(yarn bin)/tsc --project build/config/tsconfig.tests.json",
"bundle": "TESTS=false $(yarn bin)/webpack --config build/config/webpack.config.js",
"bundle-sw": "TESTS=false $(yarn bin)/webpack --config build/config/serviceworker.config.js",
"bundle-sdk": "TESTS=false $(yarn bin)/webpack --config build/config/sdk.config.js",
"bundle-page-sdk-es6": "TESTS=false $(yarn bin)/webpack --config build/config/page-sdk-es6.config.js",
"bundle:analyze": "ANALYZE=true ENV=production TESTS=false $(yarn bin)/webpack --config build/config/webpack.config.js --profile --json > stats.json",
"bundle-sw:analyze": "ANALYZE=true ENV=production TESTS=false $(yarn bin)/webpack --config build/config/serviceworker.config.js --profile --json > stats.json",
"bundle-sdk:analyze": "ANALYZE=true ENV=production TESTS=false $(yarn bin)/webpack --config build/config/sdk.config.js --profile --json > stats.json",
"build:dev": "ENV=development yarn transpile:sources && ENV=development yarn bundle-sw && ENV=development yarn bundle-sdk && ENV=development yarn bundle-page-sdk-es6 && ENV=development build/scripts/publish.sh",
"build:staging": "ENV=staging yarn transpile:sources && ENV=staging yarn bundle-sw && ENV=staging yarn bundle-sdk && ENV=staging yarn bundle-page-sdk-es6 && ENV=staging build/scripts/publish.sh",
"build:prod": "ENV=production yarn transpile:sources && ENV=production yarn bundle-sw && ENV=production yarn bundle-sdk && ENV=production yarn bundle-page-sdk-es6 && ENV=production build/scripts/publish.sh",
"test": "ENV=development yarn transpile:tests && yarn run ava --verbose --color --watch",
"test:noWatch": "ENV=development yarn transpile:tests && ava --verbose --color --watch=false",
"publish": "yarn clean && yarn build:prod && yarn",
"build:dev-dev": "./build/scripts/build.sh development development",
"build:dev-prod": "./build/scripts/build.sh development production",
"build:dev-stag": "./build/scripts/build.sh development staging"
},
"config": {
"sdkVersion": "150710"
},
"repository": {
"type": "git",
"url": "github.com/one-signal/OneSignal-Website-SDK"
},
"author": "OneSignal",
"license": "SEE LICENSE IN LICENSE",
"devDependencies": {
"@types/body-parser": "latest",
"@types/chai": "latest",
"@types/core-js": "latest",
"@types/cors": "latest",
"@types/express": "latest",
"@types/jsdom": "^2.0.30",
"@types/loglevel": "latest",
"@types/mocha": "^5.0.0",
"@types/nconf": "latest",
"@types/nock": "^9.1.2",
"@types/node": "^9.6.0",
"@types/object-assign": "^4.0.30",
"@types/requirejs": "latest",
"@types/sinon": "^2.3.3",
"@types/text-encoding": "^0.0.31",
"@types/validator": "latest",
"@types/whatwg-fetch": "latest",
"ava": "^0.21.0",
"awesome-typescript-loader": "^4.0.1",
"css-loader": "^0.26.2",
"dom-storage": "^2.0.2",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"fake-indexeddb": "github:OneSignal/fakeIndexedDB#onesignal",
"imports-loader": "^0.7.1",
"md5-file": "^3.2.2",
"nock": "^9.1.6",
"node-dir": "^0.1.16",
"node-fetch": "^1.6.3",
"nyc": "^11.1.0",
"postcss-loader": "^2.0.6",
"sass-loader": "^6.0.6",
"sinon": "^2.4.1",
"svgo": "^0.7.2",
"text-encoding": "^0.6.4",
"timemachine": "^0.3.0",
"tslint": "^5.10.0",
"tslint-eslint-rules": "^5.2.0",
"typescript": "^2.7.1",
"uglifyjs-webpack-plugin": "^1.2.4",
"webpack": "^4.3.0",
"webpack-bundle-analyzer": "^2.11.1",
"webpack-cli": "^2.0.13"
},
"ava": {
"files": [
"build/ts-to-es6/test/unit/**/*.js"
],
"source": [
"build/ts-to-es6/src/**/*.js"
],
"concurrency": 1,
"serial": true,
"powerAssert": true,
"watch": true,
"failFast": true
},
"nyc": {
"cache": true,
"reporter": [
"lcov",
"text-summary"
],
"include": [
"build/ts-to-es6/src/**/*.js"
]
}
}