package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "molio",
  3. "version": "0.1.0",
  4. "description": "Parsers for molecular data.",
  5. "main": "dist/molio.js",
  6. "module": "dist/molio.esm.js",
  7. "types": "src/index.d.ts",
  8. "scripts": {
  9. "lint": "./node_modules/.bin/tslint src/**/*.ts",
  10. "build": "./node_modules/.bin/tsc",
  11. "watch": "./node_modules/.bin/tsc -watch",
  12. "bundle": "./node_modules/.bin/rollup -c",
  13. "test": "./node_modules/.bin/jest",
  14. "dist": "./node_modules/.bin/uglifyjs build/js/molio.dev.js -cm > dist/molio.js && cp build/js/molio.esm.js dist/molio.esm.js",
  15. "script": "./node_modules/.bin/rollup build/js/src/script.js -e fs -f cjs -o build/js/script.js"
  16. },
  17. "jest": {
  18. "moduleFileExtensions": [
  19. "ts",
  20. "js"
  21. ],
  22. "transform": {
  23. "\\.ts$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
  24. },
  25. "testRegex": "\\.spec\\.ts$"
  26. },
  27. "author": "",
  28. "license": "MIT",
  29. "devDependencies": {
  30. "@types/jest": "latest",
  31. "@types/node": "^8.0.28",
  32. "jest": "^21.1.0",
  33. "rollup": "^0.49.3",
  34. "rollup-plugin-buble": "^0.15.0",
  35. "rollup-plugin-commonjs": "^8.2.1",
  36. "rollup-plugin-json": "^2.3.0",
  37. "rollup-plugin-node-resolve": "^3.0.0",
  38. "rollup-watch": "^4.3.1",
  39. "ts-jest": "^21.0.0",
  40. "tslint": "^5.7.0",
  41. "typescript": "^2.5.1",
  42. "uglify-js": "^3.1.0"
  43. },
  44. "dependencies": {}
  45. }