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