1 | {
|
2 | "name": "nouislider",
|
3 | "version": "15.8.1",
|
4 | "main": "dist/nouislider.js",
|
5 | "module": "dist/nouislider.mjs",
|
6 | "style": "dist/nouislider.min.css",
|
7 | "types": "dist/nouislider.d.ts",
|
8 | "license": "MIT",
|
9 | "scripts": {
|
10 | "build": "npm run build:mjs && npm run build:js && npm run build:styles",
|
11 | "build:js": "npm run build:js:write && npm run build:js:compress && npm run build:js:compress:mjs",
|
12 | "build:js:write": "rollup -c rollup.config.js",
|
13 | "build:js:compress": "uglifyjs dist/nouislider.js --compress --mangle --output dist/nouislider.min.js",
|
14 | "build:js:compress:mjs": "uglifyjs dist/nouislider.mjs --compress --mangle --output dist/nouislider.min.mjs",
|
15 | "build:types": "tsc --emitDeclarationOnly",
|
16 | "build:mjs": "tsc --module ES6 && mv dist/nouislider.js dist/nouislider.mjs",
|
17 | "build:styles": "npm run build:styles:write && npm run build:styles:compress",
|
18 | "build:styles:write": "lessc src/nouislider.less dist/nouislider.css",
|
19 | "build:styles:compress": "lessc src/nouislider.less dist/nouislider.min.css --clean-css",
|
20 | "prepublishOnly": "npm run build",
|
21 | "format": "prettier src/nouislider.ts --write --config .prettierrc",
|
22 | "lint": "eslint src/nouislider.ts",
|
23 | "docs": "cd ../ && php -S localhost:${PORT:-8080} nouislider/documentation/_run/router.php"
|
24 | },
|
25 | "devDependencies": {
|
26 | "@typescript-eslint/eslint-plugin": "^5.10",
|
27 | "@typescript-eslint/parser": "^5.10",
|
28 | "eslint": "^8.7",
|
29 | "less": "^4.1",
|
30 | "less-plugin-clean-css": "^1.5",
|
31 | "prettier": "^2.5",
|
32 | "rollup": "^2.65.0",
|
33 | "rollup-plugin-typescript2": "^0.31",
|
34 | "typescript": "^4.5",
|
35 | "uglify-js": "^3.14"
|
36 | },
|
37 | "repository": {
|
38 | "type": "git",
|
39 | "url": "git://github.com/leongersen/noUiSlider.git"
|
40 | },
|
41 | "files": [
|
42 | "src",
|
43 | "dist"
|
44 | ],
|
45 | "dependencies": {}
|
46 | }
|