|
34 | 34 | "chartist": "^1.0.0" |
35 | 35 | }, |
36 | 36 | "devDependencies": { |
| 37 | + "@eslint/js": "^10.0.1", |
| 38 | + "copyfiles": "^2.4.1", |
| 39 | + "del": "^8.0.1", |
| 40 | + "del-cli": "^7.0.0", |
37 | 41 | "eslint": "^10.1.0", |
38 | 42 | "eslint-config-prettier": "^10.1.8", |
39 | | - "eslint-plugin-prettier": "^5.5.5", |
40 | | - "grunt": "^1.6.1", |
41 | | - "grunt-contrib-clean": "^2.0.1", |
42 | | - "grunt-contrib-copy": "^1.0.0", |
43 | | - "grunt-contrib-jshint": "^3.2.0", |
44 | | - "grunt-contrib-uglify": "^5.2.2", |
45 | | - "grunt-eslint": "^26.0.0", |
46 | | - "grunt-sass": "^4.0.0", |
47 | | - "grunt-umd": "^3.0.0", |
48 | | - "jasmine-fixture": "^2.0.0", |
49 | | - "jshint-stylish": "^2.2.1", |
50 | | - "load-grunt-config": "^4.0.1", |
| 43 | + "globals": "^17.4.0", |
| 44 | + "minify": "^15.2.0", |
51 | 45 | "prettier": "^3.8.1", |
52 | | - "sass": "^1.79.4", |
53 | | - "time-grunt": "^2.0.0" |
| 46 | + "sass": "^1.98.0", |
| 47 | + "terser": "^5.46.1" |
54 | 48 | }, |
55 | 49 | "scripts": { |
56 | | - "build": "grunt build", |
| 50 | + "clean": "del ./dist ./.tmp", |
| 51 | + "build": "yarn clean && yarn build:styles && yarn build:scripts", |
| 52 | + "build:scripts": "terser -o dist/chartist-plugin-tooltip.js src/scripts/chartist-plugin-tooltip.js", |
| 53 | + "build:styles": "sass --no-source-map --style compressed src/styles:dist", |
57 | 54 | "format": "prettier --write 'src/**/*.js'", |
58 | | - "lint": "grunt lint", |
59 | | - "prepare": "grunt build", |
60 | | - "version": "grunt build && git add -A ." |
61 | | - }, |
62 | | - "config": { |
63 | | - "banner": "/* chartist-plugin-tooltip <%= pkg.version %>\n * Copyright © <%= year %> Markus Padourek\n * Free to use under the WTFPL license.\n * http://www.wtfpl.net/\n */\n", |
64 | | - "src": "src", |
65 | | - "dist": "dist", |
66 | | - "tmp": ".tmp", |
67 | | - "src_name": "chartist-plugin-tooltip" |
| 55 | + "lint": "eslint 'src/scripts/**/*.js'", |
| 56 | + "prepare": "yarn build" |
68 | 57 | }, |
69 | 58 | "license": "MIT" |
70 | 59 | } |
0 commit comments