Skip to content

Commit 25ae851

Browse files
author
Kota Mizushima
committed
Add jpkl and package.json.pkl to generate package.json
1 parent a33ec37 commit 25ae851

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ node_modules/
33
.idea/
44
*.log
55
coverage/
6+
*.bk

generate_package_json.sh

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
cp package.json package.json.bk
3+
./jpkl eval --format json package.json.pkl > package.json

jpkl

13.7 MB
Binary file not shown.

package.json.pkl

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name = "minis"
2+
version = "0.0.1"
3+
description = "A Toy Programming Language"
4+
main = "index.js"
5+
repository = "https://github.com/kmizu/minis"
6+
author = "Kota Mizushima"
7+
license = "MIT"
8+
scripts = new {
9+
test = "jest"
10+
}
11+
devDependencies = new {
12+
jest = "^29.4.0"
13+
}
14+
dependencies = new {
15+
yarn = "^1.22.21"
16+
}

0 commit comments

Comments
 (0)