73 lines
2.0 KiB
JSON
73 lines
2.0 KiB
JSON
{
|
|
"name": "utf8-buffer",
|
|
"version": "1.0.0",
|
|
"description": "ES6 module to encode and decode UTF-8 strings.",
|
|
"homepage": "https://github.com/rochars/utf8-buffer",
|
|
"author": "Rafael da Silva Rocha <rocha.rafaelsilva@gmail.com>",
|
|
"license": "MIT",
|
|
"main": "./dist/utf8-buffer.js",
|
|
"module": "./index.js",
|
|
"types": "./index.d.ts",
|
|
"engines": {
|
|
"node": ">=8"
|
|
},
|
|
"keywords": [
|
|
"byte",
|
|
"buffer",
|
|
"binary",
|
|
"parser",
|
|
"ASCII",
|
|
"UTF-8",
|
|
"string",
|
|
"pack",
|
|
"unpack",
|
|
"ES6"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/rochars/utf8-buffer.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/rochars/utf8-buffer/issues"
|
|
},
|
|
"directories": {
|
|
"dist": "dist",
|
|
"externs": "externs"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"externs",
|
|
"index.js",
|
|
"index.d.ts",
|
|
"LICENSE",
|
|
"AUTHORS.md",
|
|
"CHANGELOG.md",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"lint": "jshint index.js externs",
|
|
"test": "nyc ./node_modules/mocha/bin/_mocha test/src --recursive -R dot",
|
|
"test-umd": "node ./node_modules/mocha/bin/_mocha test/src --umd --recursive -R dot",
|
|
"test-tsc": "tsc ./test/dist/TypeScript/main.ts && node -r esm ./test/dist/TypeScript/main.js",
|
|
"test-dist": "npm run test-umd && npm run test-tsc",
|
|
"pack": "npm run test && rollup -c && npm run test-dist",
|
|
"doc": "./node_modules/.bin/jsdoc -c .jsdocrc index.js -d docs -r README.md -t node_modules/docdash",
|
|
"build": "npm run lint && npm run pack && npm run doc",
|
|
"coverage": "nyc report --reporter=lcov > coverage.lcov && codecov"
|
|
},
|
|
"devDependencies": {
|
|
"@ampproject/rollup-plugin-closure-compiler": "^0.13.0",
|
|
"codecov": "^3.6.1",
|
|
"docdash": "^1.1.1",
|
|
"esm": "^3.2.25",
|
|
"jsdoc": "^3.6.3",
|
|
"jshint": "^2.10.3",
|
|
"mocha": "^6.2.2",
|
|
"mocha-lcov-reporter": "^1.3.0",
|
|
"nyc": "^14.1.1",
|
|
"rollup": "^1.27.14",
|
|
"typescript": "^3.7.4"
|
|
},
|
|
"dependencies": {}
|
|
}
|