Skip to content

Commit 5b890fb

Browse files
author
Sepand Parhami
committed
Update package.json for NPM publishing.
1 parent 4c64550 commit 5b890fb

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

package.json

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
"description": "JavaScript animation functions and helpers.",
55
"main": "dist/src/animations.js",
66
"module": "dist/src/animations.mjs",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/ampproject/animations.git"
10+
},
11+
"author": "The AMP HTML Authors",
12+
"license": "Apache-2.0",
713
"scripts": {
814
"build": "tsc -p tsconfig-es6.json",
915
"build-watch": "npm run build -- --watch",
@@ -16,10 +22,9 @@
1622
"karma": "karma start --browsers Chrome,Firefox karma.conf.js",
1723
"test": "npm run karma -- --single-run",
1824
"test-watch": "npm run karma -- --auto-watch",
19-
"tsickle": "node_modules/tsickle/src/main.js"
25+
"tsickle": "node_modules/tsickle/src/main.js",
26+
"prepublish": "npm run dist"
2027
},
21-
"author": "The AMP HTML Authors",
22-
"license": "Apache-2.0",
2328
"devDependencies": {
2429
"@types/chai": "^4.1.6",
2530
"@types/mocha": "^5.2.5",
@@ -36,5 +41,8 @@
3641
"tsickle": "^0.33.0",
3742
"typescript": "git://github.com/mprobst/TypeScript.git#5456479a4a"
3843
},
39-
"dependencies": {}
44+
"dependencies": {},
45+
"files": [
46+
"dist"
47+
]
4048
}

0 commit comments

Comments
 (0)