npm-packages-test
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

npm-packages-test

Test repo for publishing npm packages

{
   "name": "npm-packages-test",
   "version": "1.0.2",
   "description": "Test repo for publishing npm packages",
   "main": "dist/index.js",     
   "types": "dist/index.js",    
   "scripts": {
       ///  Testing in typescript with mocha and chai, ts-node to 
      "test": "mocha --require ts-node/register tests/**/*.ts",
      /// Typescript
      "build": "tsc",
      //run build before publish
      "prepare": "npm run build",
      //run test before publish
      "prepublishOnly": "npm test",
      "preversion": "npm run lint",
      "version": "npm run format && git add -A src"
   },
   "repository": {
      "type": "git",
      "url": "git+https://github.com/dans910/npm-packages-test.git"
   },
   "author": "",
   "license": "ISC",
   "bugs": {
      "url": "https://github.com/dans910/npm-packages-test/issues"
   },
   "homepage": "https://github.com/dans910/npm-packages-test#readme",
   "devDependencies": {
      "@types/chai": "^4.1.7",
      "@types/mocha": "^5.2.5",
      "chai": "^4.2.0",
      "mocha": "^5.2.0",
      "ts-node": "^7.0.1",
      "typescript": "^3.2.2"
   },
   "dependencies": {},
   /// files to publish to npm 
   "files": ["dist/lib/**/*"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i npm-packages-test

Weekly Downloads

0

Version

1.0.3

License

ISC

Unpacked Size

15.4 kB

Total Files

12

Last publish

Collaborators

  • dans910