-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
52 lines (52 loc) · 1.85 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
{
"name": "prettier-plugin-motoko",
"version": "0.10.3",
"description": "A code formatter for the Motoko smart contract language.",
"main": "lib/environments/node.js",
"browser": "lib/environments/web.js",
"types": "lib/index.d.ts",
"scripts": {
"build:ts": "rimraf ./lib && tsc -p .",
"build:wasm": "run-s build:wasm:bundler build:wasm:nodejs",
"build:wasm:bundler": "wasm-pack build wasm --target bundler --out-dir pkg/bundler && rm wasm/pkg/bundler/.gitignore",
"build:wasm:nodejs": "wasm-pack build wasm --target nodejs --out-dir pkg/nodejs && rm wasm/pkg/nodejs/.gitignore",
"build": "run-s build:wasm build:ts",
"test": "npm run build:wasm:nodejs && npm run test:quick",
"test:quick": "node --experimental-vm-modules node_modules/jest/bin/jest",
"package": "cd packages/mo-fmt && npm run package",
"prepublishOnly": "run-s build test:quick"
},
"dependencies": {
"out-of-character": "^1.2.1"
},
"devDependencies": {
"@types/jest": "^28.1.7",
"fast-glob": "^3.2.11",
"jest": "^28.1.3",
"npm-run-all": "^4.1.5",
"pkg": "^5.8.0",
"prettier": "^3.3",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1",
"typescript": "^4.8.2",
"wasm-pack": "^0.11.1"
},
"peerDependencies": {
"prettier": "^2.7 || ^3.0"
},
"files": [
"src/**/*",
"lib/**/*",
"wasm/pkg/**/*"
],
"repository": {
"type": "git",
"url": "git+https://github.com/dfinity/prettier-plugin-motoko.git"
},
"author": "DFINITY Foundation (https://github.com/dfinity)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/dfinity/prettier-plugin-motoko/issues"
},
"homepage": "https://github.com/dfinity/prettier-plugin-motoko#readme"
}