|
20 | 20 | "compile:ci": "pnpm run build:ts",
|
21 | 21 | "build:ts": "pnpm run build:ts:cjs",
|
22 | 22 | "build:ts:cjs": "tsc -p src",
|
| 23 | + "test": "cross-env TS_NODE_PROJECT='./tests/tsconfig.json' nyc mocha", |
23 | 24 | "build": "pnpm run clear:dist && pnpm run prettify:src && pnpm run lint && pnpm run compile && pnpm run prettify:readme && chmod +x dist/cli.js && chmod +x dist/build/build.js && chmod +x dist/create/create.js && chmod +x dist/create/preset/preset.js",
|
24 | 25 | "build:ci": "pnpm run clear:dist && pnpm run prettify:ci:src && pnpm run lint:ci && pnpm run compile && pnpm run prettify:ci:readme",
|
25 | 26 | "clear:dist": "rimraf ./dist",
|
|
31 | 32 | "@tsparticles/prettier-config": "^1.12.0",
|
32 | 33 | "@tsparticles/tsconfig": "^1.14.0",
|
33 | 34 | "@tsparticles/webpack-plugin": "^1.23.0",
|
34 |
| - "@typescript-eslint/eslint-plugin": "^6.1.0", |
35 |
| - "@typescript-eslint/parser": "^6.1.0", |
| 35 | + "@typescript-eslint/eslint-plugin": "^6.2.1", |
| 36 | + "@typescript-eslint/parser": "^6.2.1", |
36 | 37 | "commander": "^11.0.0",
|
37 |
| - "eslint": "^8.45.0", |
| 38 | + "eslint": "^8.46.0", |
38 | 39 | "eslint-config-prettier": "^9.0.0",
|
39 |
| - "eslint-plugin-jsdoc": "^46.4.4", |
| 40 | + "eslint-plugin-jsdoc": "^46.4.6", |
40 | 41 | "eslint-plugin-tsdoc": "^0.2.17",
|
41 | 42 | "fs-extra": "^11.1.1",
|
42 | 43 | "klaw": "^4.1.0",
|
43 | 44 | "path-scurry": "^1.10.1",
|
44 |
| - "prettier": "^3.0.0", |
| 45 | + "prettier": "^3.0.1", |
45 | 46 | "prompts": "^2.4.2",
|
46 | 47 | "rimraf": "^5.0.1",
|
47 | 48 | "typescript": "^5.1.6",
|
48 | 49 | "webpack": "^5.88.2"
|
49 | 50 | },
|
50 | 51 | "devDependencies": {
|
51 |
| - "@types/eslint": "^8.44.0", |
| 52 | + "@types/chai": "^4.3.5", |
52 | 53 | "@types/fs-extra": "^11.0.1",
|
53 | 54 | "@types/klaw": "^3.0.3",
|
54 |
| - "@types/node": "^20.4.4", |
55 |
| - "@types/prompts": "^2.4.4" |
| 55 | + "@types/mocha": "^10.0.1", |
| 56 | + "@types/node": "^20.4.8", |
| 57 | + "@types/prompts": "^2.4.4", |
| 58 | + "chai": "^4.3.7", |
| 59 | + "cross-env": "^7.0.3", |
| 60 | + "mocha": "^10.2.0", |
| 61 | + "nyc": "^15.1.0", |
| 62 | + "ts-node": "^10.9.1" |
56 | 63 | },
|
57 | 64 | "description": "tsParticles CLI",
|
58 | 65 | "main": ".eslintrc.js",
|
|
0 commit comments