Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (63 sloc) 1.61 KB
{
"name": "coleman-liau",
"version": "1.0.3",
"description": "Formula to detect the ease of reading a text according to the Coleman-Liau index (1975)",
"license": "MIT",
"keywords": [
"coleman",
"liau",
"index",
"readability",
"formula"
],
"repository": "words/coleman-liau",
"bugs": "https://github.com/words/coleman-liau/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
],
"files": [
"index.js"
],
"dependencies": {},
"devDependencies": {
"browserify": "^16.0.0",
"is-nan": "^1.2.1",
"nyc": "^13.0.0",
"prettier": "^1.14.2",
"remark-cli": "^5.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.0.0",
"tinyify": "^2.4.3",
"xo": "^0.22.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify . -s colemanLiau -o coleman-liau.js",
"build-mangle": "browserify . -s colemanLiau -p tinyify -o coleman-liau.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test.js",
"test": "npm run format && npm run build && npm run test-coverage"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true,
"esnext": false,
"ignores": [
"coleman-liau.js"
]
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
}
}