-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
60 lines (60 loc) · 2.08 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
{
"name": "poseidon2",
"license": "MIT",
"author": "Open Asset Standards",
"version": "0.4.2",
"description": "A zero dependency TypeScript implementation of the Poseidon2 Hash Function",
"main": "./dist/poseidon2.cjs",
"module": "./dist/poseidon2.mjs",
"exports": {
"./goldilocks-12": {
"types": "./dist/goldilocks-12.d.ts",
"require": "./dist/goldilocks-12.cjs",
"import": "./dist/goldilocks-12.mjs"
},
".": {
"types": "./dist/poseidon2.d.ts",
"require": "./dist/poseidon2.cjs",
"import": "./dist/poseidon2.mjs"
}
},
"scripts": {
"dev": "vite --host",
"build": "rimraf ./dist && tsc && vite build && dts-bundle-generator --config ./dts-bundle-generator.config.ts",
"test": "vitest",
"test:coverage": "vitest --coverage",
"lint:scripts": "eslint . --ext .ts",
"lint:styles": "stylelint ./**/*.{css,scss}",
"format:scripts": "prettier . --write",
"format:styles": "stylelint ./**/*.{css,scss} --fix",
"format": "npm run format:scripts && npm run format:styles",
"prepare": "husky install && husky set .husky/pre-commit 'npx lint-staged' && git add .husky/pre-commit",
"uninstall-husky": "npm uninstall husky --no-save && git config --unset core.hooksPath && npx rimraf .husky"
},
"devDependencies": {
"@types/jsdom": "^20.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"@vitest/coverage-c8": "^0.29.8",
"dts-bundle-generator": "^7.1.0",
"eslint": "^8.32.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"lint-staged": "^13.1.0",
"postcss": "^8.4.21",
"postcss-scss": "^4.0.6",
"prettier": "^2.8.3",
"rimraf": "^5.0.1",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^9.0.0",
"stylelint-config-sass-guidelines": "^9.0.1",
"stylelint-prettier": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vitest": "^0.29.8"
}
}