-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathpackage.json
More file actions
67 lines (67 loc) · 2.47 KB
/
package.json
File metadata and controls
67 lines (67 loc) · 2.47 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "maquette",
"version": "4.1.4",
"type": "module",
"description": "Minimalistic Virtual DOM implementation with support for animated transitions.",
"workspaces": [
"browser-tests"
],
"homepage": "https://maquette.js.org/",
"keywords": [
"virtual",
"dom",
"animation",
"transitions"
],
"author": "Johan Gorter <johan@johangorter.com>",
"repository": {
"type": "git",
"url": "https://github.com/AFASSoftware/maquette"
},
"module": "./dist/index.js",
"main": "./dist/maquette.cjs.js",
"browser": "./dist/maquette.umd.js",
"types": "./dist/index.d.ts",
"scripts": {
"prepare": "husky",
"prepublishOnly": "npm run clean && npm run dist",
"release": "echo 'You can make a release by updating the version number in package.json and push the changes'",
"lint": "eslint src test tools browser-tests",
"lint:fix": "eslint src test tools browser-tests --fix",
"format": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" \"tools/**/*.ts\"",
"format:fix": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"tools/**/*.ts\"",
"clean": "rimraf dist build",
"dist": "tsc -p ./src/tsconfig.json && tsc -p ./examples/tsconfig.json && rollup -c --bundleConfigAsCjs && uglifyjs ./dist/maquette.umd.js -c unsafe=true,unsafe_comps=true,unsafe_math=true,passes=3 -m -o ./dist/maquette.umd.min.js",
"start": "npm -s run dist && npx http-server . -p 8080 -o",
"test": "vitest run",
"ci": "npm run lint && npm run test -- --coverage && npm -s run dist && node --import tsx ./tools/check-file-size.ts",
"publish-website": "cd website && npm install --no-optional --force && npm run deploy",
"test-also-with-browser": "npm run dist && cd examples/todomvc && npm install --no-save bower && bower install && cd ../../browser-tests && npm install && npm test"
},
"license": "MIT",
"tonicExampleFilename": "examples/tonic-example.js",
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.0.8",
"@types/sinonjs__fake-timers": "15.0.1",
"@vitest/coverage-v8": "^4.0.17",
"eslint": "^9.39.2",
"globals": "^17.0.0",
"husky": "^9.1.7",
"jsdom": "^27.4.0",
"prettier": "^3.7.4",
"rimraf": "^6.1.2",
"rollup": "4.55.2",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.53.0",
"uglify-js": "^3.19.3",
"vitest": "^4.0.17"
},
"importSort": {
".js, .jsx, .ts, .tsx": {
"style": "module",
"parser": "typescript"
}
}
}