Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
43 lines (42 sloc) 1.22 KB
{
"name": "classcat",
"description": "Build a space-separated class attribute quickly.",
"version": "4.0.2",
"main": "dist/classcat.js",
"module": "src/index.js",
"unpkg": "src/index.js",
"browser": "src/index.js",
"typings": "classcat.d.ts",
"license": "MIT",
"repository": "jorgebucaran/classcat",
"files": [
"src",
"dist",
"classcat.d.ts"
],
"author": "Jorge Bucaran",
"keywords": [
"class",
"classcat",
"classname",
"attribute",
"classlist",
"concat"
],
"scripts": {
"test": "nyc -i esm -r lcov testmatrix test/*.test.js && nyc report && tsc -p test/ts",
"build": "export pkg=$npm_package_name; npm run bundle && npm run minify",
"bundle": "rollup -i src/index.js -o dist/$pkg.js --no-esModule -mf umd -n $pkg",
"minify": "terser dist/$pkg.js -o dist/$pkg.js -mc --source-map includeSources,url=$pkg.js.map",
"prepare": "npm run build",
"release": "v=$npm_package_version; npm run build && git commit -am $v && git tag -s $v -m $v && git push && git push --tags && npm publish"
},
"devDependencies": {
"esm": "^3.2.25",
"nyc": "14.1.1",
"testmatrix": "0.1.2",
"rollup": "*",
"typescript": "^3.5.2",
"terser": "^4.0.0"
}
}
You can’t perform that action at this time.