45 lines
1.2 KiB
JSON
45 lines
1.2 KiB
JSON
{
|
|
"name": "browser-headers",
|
|
"version": "0.4.1",
|
|
"main": "dist/browser-headers.js",
|
|
"browser": "dist/browser-headers.umd.js",
|
|
"types": "dist/typings/index.d.ts",
|
|
"repository": "https://github.com/improbable-eng/js-browser-headers",
|
|
"license": "Apache-2.0",
|
|
"keywords": [
|
|
"headers",
|
|
"fetch"
|
|
],
|
|
"scripts": {
|
|
"prepublish": "npm run clean && npm run build:lib",
|
|
"clean": "rm -rf build && rm -rf lib && rm -rf dist",
|
|
"build:test": "webpack",
|
|
"build:lib": "npm run clean && webpack",
|
|
"lint": "tslint -c ./tslint.json ./src/**/*.ts ./test/**/*.ts",
|
|
"test": "npm run build:test && karma start --single-run",
|
|
"release": "./release.sh ${npm_package_version}"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^7.0.5",
|
|
"assert": "^1.4.1",
|
|
"babel-core": "^6.23.1",
|
|
"babel-loader": "^6.3.2",
|
|
"babel-preset-es2015": "^6.13.2",
|
|
"jasmine-core": "^2.4.1",
|
|
"karma": "^3.0.0",
|
|
"karma-browserstack-launcher": "^1.3.0",
|
|
"karma-jasmine": "^1.0.2",
|
|
"karma-sourcemap-loader": "^0.3.7",
|
|
"ts-loader": "^2.0.1",
|
|
"tslint": "^4.4.2",
|
|
"typescript": "3.0.1",
|
|
"webpack": "^2.2.1"
|
|
},
|
|
"dependencies": {},
|
|
"browserify": {
|
|
"transform": [
|
|
"babelify"
|
|
]
|
|
}
|
|
}
|