Skip to content

Commit 336cef4

Browse files
authored
fix: allow installation with --ignore-script (#43)
1 parent 5119f28 commit 336cef4

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

magi-p3-post.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
{
2-
"files": ["package.json"],
2+
"files": [
3+
"package.json",
4+
"vaadin-usage-statistics.js"
5+
],
36
"from": [
4-
"\"license\": \"Apache-2.0\","
7+
"\"license\": \"Apache-2.0\",",
8+
"import './vaadin-usage-statistics-collect.js';"
59
],
610
"to": [
7-
"\"license\": \"Apache-2.0\",\n\"scripts\": {\n\"postinstall\": \"node check.js\",\n\"disable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled true && npm run postinstall\",\n\"enable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled false && npm run postinstall\"\n},"
11+
"\"license\": \"Apache-2.0\",\n\"scripts\": {\n\"postinstall\": \"node check.js\",\n\"disable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled true && npm run postinstall\",\n\"enable\": \"npm config set @vaadin/vaadin-usage-statistics:disabled false && npm run postinstall\"\n},",
12+
"export * from './vaadin-usage-statistics-collect.js';"
813
]
914
}

0 commit comments

Comments
 (0)